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 |
Configurations
Information
Published : 2021-10-06 14:15
Updated : 2021-10-14 13:19
NVD link : CVE-2021-42043
Mitre link : CVE-2021-42043
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
mediawiki
- mediawiki