CVE-2004-0595
Vulnerability record
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.
Key facts
- Published
- 16 Jul 2004
- Last changed
- 8 Aug 2024
- Assigned by
- mitre
- EPSS
- 45.159% likely to be exploited in the next 30 days, higher than 98.805% of CVEs (scores for 16 Nov 2026)
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a |
|
Timeline
- 16 Jul 2004 Published
References
- CLA-2004:847
- 20040714 TSSA-2004-013 - php
- DSA-669
- oval:org.mitre.oval:def:10619
- RHSA-2004:395
- RHSA-2004:405
- RHSA-2004:392
- DSA-531
- SUSE-SA:2004:021
- MDKSA-2004:068
- php-strip-tag-bypass(16692)
- RHSA-2005:816
- SSRT4777
- 20040722 [OpenPKG-SA-2004.034] OpenPKG Security Advisory (php)
- 10724
- 20040713 Advisory 11/2004: PHP memory_limit remote vulnerability
- GLSA-200407-13
- 20040714 Advisory 12/2004: PHP strip_tags() bypass vulnerability