Skip to content
OpenAdvisories
Unscored CVE-2007-1454 EUVD-2007-1448GHSA-7f5c-3r3h-wfv7

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 …

Published Mar 14, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php5 5.2.0-10+lenny1 DTSA-39-1
Debian 4.0 php5 5.2.0-8+etch3 DSA-1283-1

Advisories 2

References