CVE-2009-4142
- State
- Published
- Severity
- Not scored
- Published
- Dec 21, 2009
- Updated
- Aug 7, 2024
- Reserved
- Dec 1, 2009
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- 37389vdb-entry
- http://www.php.net/releases/5_2_12.php
- http://bugs.php.net/bug.php?id=49785
- 40262third-party-advisory
- HPSBUX02543vendor-advisory
- 1023372vdb-entry
- 37821third-party-advisory
- 38648third-party-advisory
- APPLE-SA-2010-03-29-1vendor-advisory
- http://www.php.net/ChangeLog-5.php
- oval:org.mitre.oval:def:7085vdb-entrysignature
- oval:org.mitre.oval:def:10005vdb-entrysignature
- http://support.apple.com/kb/HT4077
- ADV-2009-3593vdb-entry
- DSA-2001vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.