The strip_tags function in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, does not filter…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 38
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:h:avaya:converged_communications_server:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Avaya |
| cpe:2.3:o:redhat:fedora_core:core_1.0:*:*:*:*:*:*:* | core_1.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:fedora_core:core_2.0:*:*:*:*:*:*:* | core_2.0 | Vulnerable | Red Hat |
| cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:* | 1.5 | Vulnerable | Trustix |
| cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Trustix |
| cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:* | 2.1 | Vulnerable | Trustix |
| cpe:2.3:a:avaya:integrated_management:*:*:*:*:*:*:*:* | all versions | Vulnerable | Avaya |
| cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* | 4.0.1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* | 4.0.2 | Vulnerable | PHP |
- cpe:2.3:h:avaya:converged_communications_server:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Avaya
- cpe:2.3:o:redhat:fedora_core:core_1.0:*:*:*:*:*:*:* Versions core_1.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:fedora_core:core_2.0:*:*:*:*:*:*:* Versions core_2.0 Vulnerable ·Red Hat
- cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·Trustix
- cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Trustix
- cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:* Versions 2.1 Vulnerable ·Trustix
- cpe:2.3:a:avaya:integrated_management:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Avaya
- cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* Versions 4.0.1 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* Versions 4.0.2 Vulnerable ·PHP
Show 28 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* | 4.0.3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* | 4.0.4 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* | 4.0.5 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* | 4.0.6 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* | 4.0.7 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* | 4.1.0 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* | 4.1.1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* | 4.1.2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* | 4.2.0 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* | 4.2.1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* | 4.2.2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* | 4.2.3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* | 4.3.0 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* | 4.3.1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* | 4.3.2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* | 4.3.3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* | 4.3.5 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* | 4.3.6 | Vulnerable | PHP |
| cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* | 4.3.7 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:* | 5.0 rc1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:* | 5.0 rc2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:* | 5.0 rc3 | Vulnerable | PHP |
| cpe:2.3:h:avaya:s8300:r2.0.0:*:*:*:*:*:*:* | r2.0.0 | Vulnerable | Avaya |
| cpe:2.3:h:avaya:s8300:r2.0.1:*:*:*:*:*:*:* | r2.0.1 | Vulnerable | Avaya |
| cpe:2.3:h:avaya:s8500:r2.0.0:*:*:*:*:*:*:* | r2.0.0 | Vulnerable | Avaya |
| cpe:2.3:h:avaya:s8500:r2.0.1:*:*:*:*:*:*:* | r2.0.1 | Vulnerable | Avaya |
| cpe:2.3:h:avaya:s8700:r2.0.0:*:*:*:*:*:*:* | r2.0.0 | Vulnerable | Avaya |
| cpe:2.3:h:avaya:s8700:r2.0.1:*:*:*:*:*:*:* | r2.0.1 | Vulnerable | Avaya |
- cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* Versions 4.0.3 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* Versions 4.0.4 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* Versions 4.0.5 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* Versions 4.0.6 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* Versions 4.0.7 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* Versions 4.1.0 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* Versions 4.1.1 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* Versions 4.1.2 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* Versions 4.2.2 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* Versions 4.2.3 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* Versions 4.3.1 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* Versions 4.3.2 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* Versions 4.3.3 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* Versions 4.3.5 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* Versions 4.3.6 Vulnerable ·PHP
- cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* Versions 4.3.7 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:* Versions 5.0 rc1 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:* Versions 5.0 rc2 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:* Versions 5.0 rc3 Vulnerable ·PHP
- cpe:2.3:h:avaya:s8300:r2.0.0:*:*:*:*:*:*:* Versions r2.0.0 Vulnerable ·Avaya
- cpe:2.3:h:avaya:s8300:r2.0.1:*:*:*:*:*:*:* Versions r2.0.1 Vulnerable ·Avaya
- cpe:2.3:h:avaya:s8500:r2.0.0:*:*:*:*:*:*:* Versions r2.0.0 Vulnerable ·Avaya
- cpe:2.3:h:avaya:s8500:r2.0.1:*:*:*:*:*:*:* Versions r2.0.1 Vulnerable ·Avaya
- cpe:2.3:h:avaya:s8700:r2.0.0:*:*:*:*:*:*:* Versions r2.0.0 Vulnerable ·Avaya
- cpe:2.3:h:avaya:s8700:r2.0.1:*:*:*:*:*:*:* Versions r2.0.1 Vulnerable ·Avaya
Remediation
Red Hat 3 advisories
- RHSA-2004:405 Released 2004-07-23 · Red Hat rating Importantapache, mod_ssl, php security update for Stronghold
- Red Hat Stronghold 4
- RHSA-2004:392 Released 2004-07-19 · Red Hat rating Importantphp security update
- Red Hat Desktop version 3 php-4.3.2-11.1.ent, php-4.3.2-11.1.ent.i386, php-devel-4.3.2-11.1.ent +11
- Red Hat Enterprise Linux AS version 3 php-4.3.2-11.1.ent, php-4.3.2-11.1.ent.i386, php-4.3.2-11.1.ent.ia64 +25
- Red Hat Enterprise Linux ES version 3 php-4.3.2-11.1.ent, php-4.3.2-11.1.ent.i386, php-4.3.2-11.1.ent.ia64 +18
- Red Hat Enterprise Linux WS version 3 php-4.3.2-11.1.ent, php-4.3.2-11.1.ent.i386, php-4.3.2-11.1.ent.ia64 +18
- RHSA-2004:395 Released 2004-07-19 · Red Hat rating Importantphp security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2004:392 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2004:395 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2004:392 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2004:395 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2004:392 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2004:395 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2004:392 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2004:395 |
| Red Hat Stronghold 4 | Fixed | RHSA-2004:405 |
| Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) | Fixed | RHSA-2005:816 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-0595
- 2026-10-03 Alias added: GHSA-h8wj-59vf-r37g
References
Patch 1
Advisory 10
Sources
- CVE-2004-0595 · CVE Program
- CVE-2004-0595 · NVD
- FIRST EPSS
- GHSA-h8wj-59vf-r37g · GitHub Advisory Database · CC BY 4.0
- CVE-2004-0595 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences