PT-2021-23482 · Mediawiki+2 · Mediawiki+2
Matmarex
·
Published
2021-10-06
·
Updated
2024-03-06
·
CVE-2021-42043
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
MediaWiki versions through 1.36.2
MediaSearch extension versions through 1.36.2
Description
An issue was discovered in Special:MediaSearch in the MediaSearch extension. The suggestion text, a parameter to
mediasearch-did-you-mean, was not being properly sanitized, allowing for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.Recommendations
For MediaWiki versions through 1.36.2, update to a version that includes the fix for this issue.
For the MediaSearch extension versions through 1.36.2, update to a version that includes the fix for this issue.
As a temporary workaround, consider restricting access to the
Special:MediaSearch page until a patch is available.
Avoid using the intitle: search operator in the query until the issue is resolved.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Mediasearch Extension
Mediawiki