Cross-site scriptingin CVE-2004-0595.
Proof of concept public (Exploit-DB).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Jun 2004CVE ID reserved by mitre.
- 16 Jul 2004Published in the CVE List.
- 8 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- distro.conectiva.com.br vendor-advisory, x_refsource_CONECTIVA
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.novell.com vendor-advisory, x_refsource_SUSE
- www.mandrakesecure.net vendor-advisory, x_refsource_MANDRAKE
- exchange.xforce.ibmcloud.com vdb-entry, x_refsource_XF
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- marc.info vendor-advisory, x_refsource_HP
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.securityfocus.com vdb-entry, x_refsource_BID
- marc.info mailing-list, x_refsource_BUGTRAQ
- www.gentoo.org vendor-advisory, x_refsource_GENTOO
- lists.grok.org.uk mailing-list, x_refsource_FULLDISC
Patchminder. CVE-2004-0595: Cross-site scripting in CVE-2004-0595. https://patchminder.com/cve/cve-2004-0595/ (accessed 5 December 2026).