CVE-2013-4303 Cross-site scripting in MediaWiki
Remote attackers can execute arbitrary scripts via cross-site scripting in the MediaWiki API due to improper extension detection.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2013-4303?
CVE-2013-4303 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 11 Dec 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
includes/libs/IEUrlExtension.php in the MediaWiki API in MediaWiki 1.19.x before 1.19.8, 1.20.x before 1.20.7, and 1.21.x before 1.21.2 does not properly detect extensions when there are an even number of "." (period) characters in a string, which allows remote attackers to conduct cross-site scripting (XSS) attacks via the siprop parameter in a query action to wiki/api.php.
Weakness: CWE-79
Which versions are affected by CVE-2013-4303?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2013-4303?
Upgrade to a fixed version.
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-2013-4303 being exploited?
There is no known exploitation of CVE-2013-4303 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as DEBIAN-CVE-2013-4303, GHSA-rxq7-cw42-v5ch.