CVE-2009-4142

N/A
Published: December 21, 2009 at 04:00 PM UTC
Updated: June 16, 2026 at 11:13 PM UTC
1 product affected across 1 vendorPHP

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 6%

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.

References (15)

Third Party Advisoryx_refsource_SECUNIAVendor Advisory
http://secunia.com/advisories/37821
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/38648
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/40262
VDB Entryx_refsource_SECTRACKExploit
http://securitytracker.com/id?1023372

CVSS

Confidentiality
NONE
Integrity
PARTIAL
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card