CVE-2013-2031 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks via malicious SVG files, requiring user interaction to view the content.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-2031?

CVE-2013-2031 is a medium-severity cross-site scripting vulnerability in Gentoo Linux, published on 15 Nov 2013. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

MediaWiki before 1.19.6 and 1.20.x before 1.20.5 allows remote attackers to conduct cross-site scripting (XSS) attacks, as demonstrated by a CDATA section containing valid UTF-7 encoded sequences in a SVG file, which is then incorrectly interpreted as UTF-8 by Chrome and Firefox.

Weakness: CWE-79

Which versions are affected by CVE-2013-2031?

It affects 2 products.

Products include Gentoo Linux, Mediawiki Mediawiki.

How do I fix CVE-2013-2031?

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-2031 being exploited?

There is no known exploitation of CVE-2013-2031 in the wild and no public exploit code.

All Gentoo Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-2031, GHSA-47j7-228r-59cw.

Is CVE-2013-2031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free