CVE-2004-0595

published 16 Jul 2004 · updated 8 Aug 2024

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…

6.5MediumEPSS 45%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 45%. No fixed version is recorded.

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.

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2004-0595 severity on Zeptric[![CVE-2004-0595](https://zeptric.io/badge/cve/CVE-2004-0595.svg)](https://zeptric.io/cve/CVE-2004-0595)