CVE-2020-35479
MEDIUMCVSS 6.1/10EPSS 1.48%
Last modified
CVE-2020-35479 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. MediaWiki before 1.35.1 allows XSS via BlockLogFormatter.php. Language::translateBlockExpiry itself does not escape in all code paths. EPSS estimates a 1.48% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mediawiki | Mediawiki | >= 1.12.0, < 1.35.1 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 33 |
References
- https://lists.debian.org/debian-lts-announce/2020/12/msg00034.htmlMailing List, Third Party Advisory
- https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.htmlMailing List, Release Notes, Vendor Advisory
- https://phabricator.wikimedia.org/T268938Exploit, Vendor Advisory
- https://www.debian.org/security/2020/dsa-4816Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00034.htmlMailing List, Third Party Advisory
- https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.htmlMailing List, Release Notes, Vendor Advisory
- https://phabricator.wikimedia.org/T268938Exploit, Vendor Advisory
- https://www.debian.org/security/2020/dsa-4816Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2020-35479?
CVE-2020-35479 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 1.48% probability of exploitation in the next 30 days.
How do I fix CVE-2020-35479?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2020-35479?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
