← CVECheck
HomeVulnerabilities

CVE-2004-0595 — MEDIUM severity vulnerability (The strip_tags function in PHP 4.x up to 4.3.7, and 5.x up t)

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 exploita

CVE IDCVE-2004-0595
SeverityMEDIUM
CVSS score6.8
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:P
CWENVD-CWE-Other
StatusModified
Published2004-07-27
Last modified2026-04-16
DescriptionThe 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.
SourceNIST National Vulnerability Database

🔍 Search all vulnerabilities →