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.
References (7)
Core 7
Core References
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/25056
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2007/dsa-1283
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/22914
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/25062
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
Various Sources x_refsource_misc
http://www.php-security.org/MOPB/MOPB-18-2007.html
Vendor Advisory vendor-advisory
x_refsource_suse
http://www.novell.com/linux/security/advisories/2007_32_php.html
Scores
EPSS
0.0049
EPSS Percentile
65.9%
Details
Status
published
Products (1)
php/php
5.2.0
Published
Mar 14, 2007
Tracked Since
Feb 18, 2026