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)

EPSS: 0.015 (70.8th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, x_refsource_MISC, Vendor Advisory)
  • cve@mitre.org (Mailing List, x_refsource_MISC, Release Notes, Vendor Advisory)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
  • cve@mitre.org (x_refsource_FEDORA, vendor-advisory)

Frequently asked questions

What is CVE-2020-35479?
CVE-2020-35479 is a medium-severity vulnerability in MediaWiki, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2020-12-18.
How severe is CVE-2020-35479?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2020-35479 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.