XSS in MediaWiki
CVE-2020-35479
MediaWiki before 1.35.1 allows XSS via BlockLogFormatter.php. Language::translateBlockExpiry itself does not escape in all code paths. For example, the return of Language::userTimeAndDate is is always unsafe for HTML in a month value. This affects MediaWiki 1.12.0 and later.
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.015, 74.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- MediaWiki
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-35479). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- phabricator.wikimedia.org/T268938 (Exploit, Vendor Advisory)
- lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html (Mailing List, Release Notes, Vendor Advisory)
- DSA-4816 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20201223 [SECURITY] [DLA 2504-1] mediawiki security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2020-0be2d40e13 (vendor-advisory)