CVE-2008-5250 Cross-site scripting in n/a

Low 3.5 Published Updated

Authenticated users can inject arbitrary scripts into MediaWiki pages when uploads are enabled, potentially leading to session hijacking or code execution.

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-2008-5250?

CVE-2008-5250 is a low-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 19 Dec 2008. 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 MediaWiki before 1.6.11, 1.12.x before 1.12.2, and 1.13.x before 1.13.3, when Internet Explorer is used and uploads are enabled, or an SVG scripting browser is used and SVG uploads are enabled, allows remote authenticated users to inject arbitrary web script or HTML by editing a wiki page.

Weakness: CWE-79

Which versions are affected by CVE-2008-5250?

It affects 1 product.

Products include Mediawiki Mediawiki.

How do I fix CVE-2008-5250?

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-2008-5250 being exploited?

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

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as DEBIAN-CVE-2008-5250, GHSA-46r5-999x-h9xr.

Is CVE-2008-5250 in your software?

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

Check your SBOMs for free