Back to search
CVE-2009-4142
Published: Dec 21, 2009
Modified: Aug 7, 2024
PUBLISHED
Description
The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
37389
vdb-entry
x_refsource_BID
http://www.php.net/releases/5_2_12.php
x_refsource_CONFIRM
http://bugs.php.net/bug.php?id=49785
x_refsource_CONFIRM
40262
third-party-advisory
x_refsource_SECUNIA
HPSBUX02543
vendor-advisory
x_refsource_HP
1023372
vdb-entry
x_refsource_SECTRACK
37821
third-party-advisory
x_refsource_SECUNIA
38648
third-party-advisory
x_refsource_SECUNIA
APPLE-SA-2010-03-29-1
vendor-advisory
x_refsource_APPLE
http://www.php.net/ChangeLog-5.php
x_refsource_CONFIRM
oval:org.mitre.oval:def:7085
vdb-entry
signature
x_refsource_OVAL
oval:org.mitre.oval:def:10005
vdb-entry
signature
x_refsource_OVAL
http://support.apple.com/kb/HT4077
x_refsource_CONFIRM
ADV-2009-3593
vdb-entry
x_refsource_VUPEN
DSA-2001
vendor-advisory
x_refsource_DEBIAN
SSRT100152
vendor-advisory
x_refsource_HP
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now