CVE-2011-1579 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks or steal sensitive information via crafted CSS tokens in MediaWiki.
- 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-2011-1579?
CVE-2011-1579 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 27 Apr 2011. 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
The checkCss function in includes/Sanitizer.php in the wikitext parser in MediaWiki before 1.16.3 does not properly validate Cascading Style Sheets (CSS) token sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks or obtain sensitive information by using the \2f\2a and \2a\2f hex strings to surround CSS comments.
Weakness: CWE-20
Which versions are affected by CVE-2011-1579?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2011-1579?
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-2011-1579 being exploited?
There is no known exploitation of CVE-2011-1579 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as DEBIAN-CVE-2011-1579, GHSA-rwjq-pqc6-6rcp.