Cross-site scripting in PHP - CVE-2003-0442

 

Cross-site scripting in PHP - CVE-2003-0442

Published: May 3, 2018 / Updated: June 9, 2025


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

Detailed vulnerability description

Vulnerability allows a remote attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in the transparent SID support capability for PHP before 4.3.2 (session.use_trans_sid) when processing PHPSESSID parameter. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

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-2003-0442

Install update from vendor's website.

Sources