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.
CVE-2004-0595
- No confirmed exploitation signals yet
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 98.6%
- KEV
- Not listed
Published
July 27, 2004
Last Modified
June 16, 2026
References (36)
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847
- cve@mitrehttp://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html
- cve@mitrehttp://marc.info/?l=bugtraq&m=108981780109154&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=108982983426031&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=109051444105182&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=109181600614477&w=2
- cve@mitrehttp://www.debian.org/security/2004/dsa-531
- cve@mitrehttp://www.debian.org/security/2005/dsa-669
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200407-13.xml
- cve@mitrehttp://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068
- cve@mitrehttp://www.novell.com/linux/security/advisories/2004_21_php4.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2004-392.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2004-395.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2004-405.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2005-816.html
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2005-11-02 | redhat |
| redhat | patch | 2004-07-23 | redhat |
| redhat | php-0:4.3.2-11.1.ent | 2004-07-19 | redhat |
| redhat | patch | 2004-07-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
All Vendor Advisories
(4)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 3× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
Show 26 moreShow fewer
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 16:11 UTCEG score recompute
- 2026-05-31 16:11 UTCVendor advisory
- 2026-05-31 16:11 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-24280✓ verifiedFirst seen Jul 14, 2004
PHP 4.x/5.0 - 'Strip_Tags()' Function Bypass
Open source ↗
Frequently asked(4)
What is CVE-2004-0595?
When was CVE-2004-0595 disclosed?
Is CVE-2004-0595 actively exploited?
How do I remediate CVE-2004-0595?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2004-0595
Is Your Infrastructure Affected by CVE-2004-0595?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.