CVE Database
/

CVE-2009-4142

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.

VendorProductVersions

n/a

n/a

affected
n/a

References

37389
vdb-entry
x_refsource_BID
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
oval:org.mitre.oval:def:7085
vdb-entry
signature
x_refsource_OVAL
oval:org.mitre.oval:def:10005
vdb-entry
signature
x_refsource_OVAL
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 Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now