CVE-2020-35475 Cross-site scripting in n/a
Cross-site scripting vulnerability in MediaWiki allows attackers to execute arbitrary scripts via unescaped HTML in user rights expiry messages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35475?
CVE-2020-35475 is a high-severity cross-site scripting vulnerability in Debian Debian Linux, published on 18 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.)
Weakness: CWE-79
Which versions are affected by CVE-2020-35475?
1 open source package ship an affected version, including mediawiki. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki Bitnami | All versions | 1.35.1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Mediawiki Mediawiki.
How do I fix CVE-2020-35475?
Upgrade mediawiki to 1.35.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-35475 being exploited?
There is no known exploitation of CVE-2020-35475 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BIT-mediawiki-2020-35475, DEBIAN-CVE-2020-35475, GHSA-qv45-6hw7-469f, UBUNTU-CVE-2020-35475.