CVE-2017-8812 Cross-site scripting in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2

Medium 5.3 Published Updated

Remote attackers can inject characters via the headline id attribute, potentially leading to cross-site scripting attacks in MediaWiki.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-8812?

CVE-2017-8812 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 15 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 allows remote attackers to inject > (greater than) characters via the id attribute of a headline.

Which versions are affected by CVE-2017-8812?

It affects 2 products.

Products include Debian Debian Linux, Mediawiki Mediawiki.

How do I fix CVE-2017-8812?

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-2017-8812 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-8812, GHSA-7c6g-3j56-238r.

Is CVE-2017-8812 in your software?

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

Check your SBOMs for free