Cross-site scripting in PHP - CVE-2004-0595

 

Cross-site scripting in PHP - CVE-2004-0595

Published: October 30, 2018 / Updated: June 9, 2025


Vulnerability identifier: #VU110523
CSH Severity: Medium
CVSS v4.0:
CVE-ID: CVE-2004-0595
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. The vulnerability 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.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


How to mitigate CVE-2004-0595

Install update from vendor's website.

Sources