CVE-2012-1582 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into MediaWiki pages via crafted strip item markers, potentially leading to session hijacking or malicious actions.

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-2012-1582?

CVE-2012-1582 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 9 Sep 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the wikitext parser in MediaWiki 1.17.x before 1.17.3 and 1.18.x before 1.18.2 allows remote attackers to inject arbitrary web script or HTML via a crafted page with "forged strip item markers," as demonstrated using the CharInsert extension.

Weakness: CWE-79

Which versions are affected by CVE-2012-1582?

It affects 1 product.

Products include Mediawiki Mediawiki.

How do I fix CVE-2012-1582?

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-2012-1582 being exploited?

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

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-1582, GHSA-jqh5-w95m-3mpg.

Is CVE-2012-1582 in your software?

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

Check your SBOMs for free