Skip to content
Fencer Vulns
medium 6.8

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

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.ent
    fixed: vendor fix RHSA-2004:392
  • Red Hat Enterprise Linux ES version 2.1
    fixed: 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.ent
    fixed: vendor fix RHSA-2004:392
  • Red Hat Enterprise Linux WS version 2.1
    fixed: 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.ent
    fixed: vendor fix RHSA-2004:392
  • Red Hat Linux Advanced Workstation 2.1
    fixed: vendor fix RHSA-2004:395
  • Red Hat Stronghold 4
    fixed: 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

  1. First public exploit (EDB-24280)
  2. 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

Sources

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.