An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.
References
| Link | Resource |
|---|---|
| https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 | Patch Vendor Advisory |
| https://phabricator.wikimedia.org/T291600 | Issue Tracking Patch Vendor Advisory |
| https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 | Patch Vendor Advisory |
| https://phabricator.wikimedia.org/T291600 | Issue Tracking Patch Vendor Advisory |
Configurations
History
21 Nov 2024, 06:27
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 - Patch, Vendor Advisory | |
| References | () https://phabricator.wikimedia.org/T291600 - Issue Tracking, Patch, Vendor Advisory |
14 Oct 2021, 20:19
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* | |
| CWE | CWE-79 | |
| References | (MISC) https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 - Patch, Vendor Advisory | |
| References | (MISC) https://phabricator.wikimedia.org/T291600 - Issue Tracking, Patch, Vendor Advisory | |
| CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 6.1 |
06 Oct 2021, 21:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2021-10-06 21:15
Updated : 2024-11-21 06:27
NVD link : CVE-2021-42043
Mitre link : CVE-2021-42043
CVE.ORG link : CVE-2021-42043
JSON object : View
Products Affected
mediawiki
- mediawiki
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
