XSS in MediaWiki
CVE-2020-35474
In MediaWiki before 1.35.1, the combination of Html::rawElement and Message::text leads to XSS because the definition of MediaWiki:recentchanges-legend-watchlistexpiry can be changed onwiki so that the output is raw HTML.
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.010, 64.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- MediaWiki
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
References
- phabricator.wikimedia.org/T268894 (Exploit, Third Party Advisory)
- lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html (Mailing List, Release Notes, Vendor Advisory)
- FEDORA-2020-0be2d40e13 (vendor-advisory)