CVE-2004-0595
6.8CVSSMEDIUM
Description
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.
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:MAccess ComplexityMedium
Au:NAuthenticationNone
Impact
C:PConfidentialityPartial
I:PIntegrityPartial
A:PAvailabilityPartial
Weaknesses
Affected Products
and 4 more affected products View all →
Exploitability
1 exploit source identified
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit details Official Patch Available
References
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
distro.conectiva.com.br
http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html
lists.grok.org.uk
http://marc.info/?l=bugtraq&m=108981780109154&w=2
marc.info
and 15 more references View all →
Timeline
Published
Jul 16, 2004
Last Updated
Apr 16, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2004-0595 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows