CVE-2004-0595 json
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 restrict…
published 2004-07-16 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0594
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 45.2%
- EPSS 45.2% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 3 4.3.2-11.1.ent
- php-imap RHEL 3 4.3.2-11.1.ent
- php-ldap RHEL 3 4.3.2-11.1.ent
- php-odbc RHEL 3 4.3.2-11.1.ent
- php-mysql RHEL 3 4.3.2-11.1.ent
- php-pgsql RHEL 3 4.3.2-11.1.ent
red hat advisories RHSA-2004:392
- debian.org/security/2004/dsa-531 advisory
- securityfocus.com/bid/10724 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0595 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-11.1.ent, php-imap 4.3.2-11.1.ent, php-ldap 4.3.2-11.1.ent, php-odbc 4.3.2-11.1.ent, php-mysql 4.3.2-11.1.ent, php-pgsql 4.3.2-11.1.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-11.1.ent, php-imap 4.3.2-11.1.ent, php-ldap 4.3.2-11.1.ent, php-odbc 4.3.2-11.1.ent, php-mysql 4.3.2-11.1.ent, php-pgsql 4.3.2-11.1.entfixed: vendor fix RHSA-2004:392
-
Red Hat Enterprise Linux ES version 2.1fixed: vendor fix RHSA-2004:395
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-11.1.ent, php-imap 4.3.2-11.1.ent, php-ldap 4.3.2-11.1.ent, php-odbc 4.3.2-11.1.ent, php-mysql 4.3.2-11.1.ent, php-pgsql 4.3.2-11.1.entfixed: vendor fix RHSA-2004:392
-
Red Hat Enterprise Linux WS version 2.1fixed: vendor fix RHSA-2004:395
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-11.1.ent, php-imap 4.3.2-11.1.ent, php-ldap 4.3.2-11.1.ent, php-odbc 4.3.2-11.1.ent, php-mysql 4.3.2-11.1.ent, php-pgsql 4.3.2-11.1.entfixed: vendor fix RHSA-2004:392
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2004:395
-
Red Hat Stronghold 4fixed: vendor fix RHSA-2004:405
-
Red Hat Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1)fixed: vendor fix RHSA-2005:816
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-24280)
- Published
Exploit prediction
45.16% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-24280 PHP 4.x/5.0 - 'Strip_Tags()' Function Bypass remote, 2004-07-14
- securityfocus.com http://www.securityfocus.com/bid/10724 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
debian.org
/security/2004/dsa-531
vendor-advisory, patch
-
securityfocus.com
/bid/10724
vdb-entry, exploit, patch, vendor-advisory
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000847
vendor-advisory
-
debian.org
/security/2005/dsa-669
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-395.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-405.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-392.html
vendor-advisory
-
novell.com
/linux/security/advisories/2004_21_php4.html
vendor-advisory
-
mandrakesecure.net
/en/advisories/advisory.php?name=MDKSA-2004:068
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-816.html
vendor-advisory
-
marc.info
/?l=bugtraq&m=109181600614477&w=2
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200407-13.xml
vendor-advisory
-
marc.info
/?l=bugtraq&m=108982983426031&w=2
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10619
vdb-entry, signature
-
exchange.xforce.ibmcloud.com
/vulnerabilities/16692
vdb-entry
-
marc.info
/?l=bugtraq&m=109051444105182&w=2
mailing-list
-
marc.info
/?l=bugtraq&m=108981780109154&w=2
mailing-list
-
lists.grok.org.uk
/pipermail/full-disclosure/2004-July/023909.html
mailing-list
Sources
- CVE List CVE-2004-0595
- NVD CVE-2004-0595
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.