Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2004-0595: 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 w

58
This week
MEDIUM 6.8WATCHLISTMITIGATEMITIGATEMITIGATE

CVE-2004-0595 is a medium-severity flaw (CVSS 6.8) affecting converged communications server, fedora core, secure linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 this priority

  • EPSS top 1%: very likely to be exploited
  • Public exploit reference
  • On your watchlist

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score6.8 (Medium)
EPSS exploit chance45.2% (top 1%)
CISA exploited listNo
Published2004-07-27
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: avaya · php · redhat · trustix

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

avaya converged communications server MITIGATE
Affected: 2.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.0
Firmware
Install the latest firmware from the vendor advisory; if none, apply the vendor workaround.
redhat fedora core MITIGATE
Affected: core_1.0 · core_2.0
Fixed in: no fixed release known
Safe to downgrade to: a release before core_1.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
trustix secure linux MITIGATE
Affected: 1.5 · 2.0 · 2.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.5
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
avaya integrated management MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy integrated-management || rpm -q integrated-management || integrated-management --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
php php DOWNGRADE
Affected: 4.0 · 4.0.1 · 4.0.2 · 4.0.3 · 4.0.4 · 4.0.5 · 4.0.6 · 4.0.7
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.0
1. Check installed version
apt-cache policy php || rpm -q php || php --version
2. No fixed release: DOWNGRADE to a release before 4.0 (Debian / Ubuntu)
apt-cache madison php sudo apt install php=<VERSION_BEFORE_4.0> sudo apt-mark hold php
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list php sudo dnf downgrade php-<VERSION_BEFORE_4.0> sudo dnf versionlock add php
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
avaya s8300 MITIGATE
Affected: r2.0.0 · r2.0.1
Fixed in: no fixed release known
Safe to downgrade to: a release before r2.0.0
Firmware
Install the latest firmware from the vendor advisory; if none, apply the vendor workaround.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2004-0595?

converged communications server: mitigate or apply the listed mitigation; fedora core: mitigate or apply the listed mitigation; secure linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2004-0595 being exploited?

CVE-2004-0595 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2004-0595 affect?

CVE-2004-0595 affects converged communications server, fedora core, secure linux. Severity is medium (CVSS 6.8). 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 Intern

How urgent is CVE-2004-0595?

Priority 58/100. EPSS top 1%: very likely to be exploited; Public exploit reference; On your watchlist

Software pages

PHP vulnerabilities · Safari vulnerabilities · Internet Explorer vulnerabilities · Apple Safari and WebKit vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.