CVE-2009-4589 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the ip parameter in MediaWiki's Special:Block implementation.

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-2009-4589?

CVE-2009-4589 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 7 Jan 2010. 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

Cross-site scripting (XSS) vulnerability in the Special:Block implementation in the getContribsLink function in SpecialBlockip.php in MediaWiki 1.14.0 and 1.15.0 allows remote attackers to inject arbitrary web script or HTML via the ip parameter.

Weakness: CWE-79

Which versions are affected by CVE-2009-4589?

It affects 2 products.

Products include Mediawiki Mediawik, Mediawiki Mediawiki.

How do I fix CVE-2009-4589?

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-2009-4589 being exploited?

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

Sources

Also known as DEBIAN-CVE-2009-4589, GHSA-7wv2-pcxg-363g.

Is CVE-2009-4589 in your software?

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

Check your SBOMs for free