XSS in MediaWiki
CVE-2021-42043
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (53.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 53.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
Weakness classification (CWE)
References
- phabricator.wikimedia.org/T291600 (Patch, Issue Tracking, Vendor Advisory)
- gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-42043?
- CVE-2021-42043 is a medium-severity vulnerability in MediaWiki, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2021-10-06.
- How severe is CVE-2021-42043?
- Medium severity. CVSS v3 base score is 6.1 out of 10.