XSS in MediaWiki

CVE-2020-35475

In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.016 (72.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • 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 (x_refsource_FEDORA, vendor-advisory)

Frequently asked questions

What is CVE-2020-35475?
CVE-2020-35475 is a high-severity vulnerability in MediaWiki, classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2020-12-18.
How severe is CVE-2020-35475?
High severity. CVSS v3 base score is 7.5 out of 10.