CVE-2010-4183 HTML Purifier cross-site scripting (XSS) vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via crafted CSS properties in HTML Purifier when used with Internet Explorer.

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-2010-4183?

CVE-2010-4183 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Nov 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

Multiple cross-site scripting (XSS) vulnerabilities in HTML Purifier before 4.1.0, when Internet Explorer is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) background-image, (2) background, or (3) font-family Cascading Style Sheets (CSS) property, a different vulnerability than CVE-2010-2479.

Weakness: CWE-79

Which versions are affected by CVE-2010-4183?

2 open source packages ship an affected version, including ezyang/htmlpurifier. It affects 1 product.

PackageAffectedFixed in
ezyang/htmlpurifier PackagistAll versions4.1.0
ezyang/htmlpurifier PackagistAll versions4.1.0

Products include Htmlpurifier Htmlpurifier.

How do I fix CVE-2010-4183?

Upgrade ezyang/htmlpurifier to 4.1.0 or later.

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-2010-4183 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-4183, GHSA-3p68-m5qw-9g9w.

Is CVE-2010-4183 in your software?

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

Check your SBOMs for free