CVE-2007-1454 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks by bypassing HTML tag stripping in PHP's filter extension when specific flags are used.

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-2007-1454?

CVE-2007-1454 is a medium-severity cross-site scripting vulnerability in Php Php, published on 14 Mar 2007. 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

ext/filter in PHP 5.2.0, when FILTER_SANITIZE_STRING is used with the FILTER_FLAG_STRIP_LOW flag, does not properly strip HTML tags, which allows remote attackers to conduct cross-site scripting (XSS) attacks via HTML with a '<' character followed by certain whitespace characters, which passes one filter but is collapsed into a valid tag, as demonstrated using %0b.

Which versions are affected by CVE-2007-1454?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-1454?

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-2007-1454 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-7f5c-3r3h-wfv7.

Is CVE-2007-1454 in your software?

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

Check your SBOMs for free