{"id":"CVE-2004-0595","published":"2004-07-16T04:00:00Z","modified":"2024-08-08T00:24:26Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.45159,"percentile":0.98814,"provenance":"source"},"cwes":[],"references":[{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000847","tags":["vendor-advisory","x_refsource_CONECTIVA"]},{"url":"http://marc.info/?l=bugtraq&m=108982983426031&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2005/dsa-669","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10619","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-395.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-405.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-392.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2004/dsa-531","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.novell.com/linux/security/advisories/2004_21_php4.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:068","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16692","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://marc.info/?l=bugtraq&m=109181600614477&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://marc.info/?l=bugtraq&m=109051444105182&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/10724","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://marc.info/?l=bugtraq&m=108981780109154&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200407-13.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-July/023909.html","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.76},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2004-07-14"},"first":{"date":"2004-07-14","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24280"},"provenance":"source"},"summary":{"text":"The strip_tags function in PHP 4.x up to 4.3.7 and 5.x up to 5.0.0RC3 fails to filter null (\\0) characters within tag names when input is restricted to allowed tags. Browsers such as Internet Explorer and Safari ignore null characters, so dangerous tags that pass through can be processed and enable cross-site scripting.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:21Z"},"euvd":{"id":"EUVD-2004-0594","exploited":false,"provenance":"source"},"exploits":[{"id":24280,"url":"https://www.exploit-db.com/exploits/24280","title":"PHP 4.x/5.0 - 'Strip_Tags()' Function Bypass","date":"2004-07-14","verified":true,"provenance":"source"}]}