CVE-2004-0595
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
45.159%
chance of exploitation in the next 30 days
higher than 98.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2004-07-14First Exploit-DB entry (EDB-ID 24280)2 days before publication
- 2004-07-16Published by the CNA04:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 24280 | remote | php | 2004-07-14 | yes |
Affected products
| Vendor | Product |
|---|---|
| avaya | converged_communications_server |
| avaya | integrated_management |
| avaya | s8300 |
| avaya | s8500 |
| avaya | s8700 |
| php | php |
| redhat | fedora_core |
| trustix | secure_linux |
References
- http://www.debian.org/security/2004/dsa-531
- http://www.securityfocus.com/bid/10724
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- http://marc.info/?l=bugtraq&m=109181600614477&w=2
- http://www.debian.org/security/2005/dsa-669
- http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- http://www.novell.com/linux/security/advisories/2004_21_php4.html
- http://www.redhat.com/support/errata/RHSA-2004-392.html
- http://www.redhat.com/support/errata/RHSA-2004-395.html
- http://www.redhat.com/support/errata/RHSA-2004-405.html
- http://www.redhat.com/support/errata/RHSA-2005-816.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html
- http://marc.info/?l=bugtraq&m=108981780109154&w=2
- http://marc.info/?l=bugtraq&m=108982983426031&w=2
- http://marc.info/?l=bugtraq&m=109051444105182&w=2
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16692
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10619
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-0595'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-0595'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-0595'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-0595'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).