Null Character Bypass in strip_tags Function Allows Cross-Site Scripting (XSS) Exploitation

Null Character Bypass in strip_tags Function Allows Cross-Site Scripting (XSS) Exploitation

CVE-2004-0595 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

The strip_tags function in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, does not filter null (\0) characters within tag names when restricting input to allowed tags, which allows dangerous tags to be processed by web browsers such as Internet Explorer and Safari, which ignore null characters and facilitate the exploitation of cross-site scripting (XSS) vulnerabilities.

Learn more about our Web App Pen Testing.