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
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2009-12-21 16:30
Updated : 2024-02-04 17:54
NVD link : CVE-2009-4142
Mitre link : CVE-2009-4142
CVE.ORG link : CVE-2009-4142
JSON object : View
Products Affected
php
- php
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')