CVE-2009-4142 describes a cross-site scripting (XSS) vulnerability in the htmlspecialchars function of PHP versions prior to 5.2.12. This flaw allows remote attackers to inject malicious scripts by crafting specific overlong UTF-8, Shift_JIS, or EUC-JP byte sequences before special characters. The vulnerability has a CVSS score of 4.3, indicating a medium attack complexity and a potential impact of partial information disclosure (XSS). While not actively exploited in the wild (KEV: No), public exploit code exists on ExploitDB, and it has a high FAUCET Risk Score of 89/100, despite minimal community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
<= 5.2.11CPE matchmatch criteria | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | ||
1.0CPE matchmatch criteria | cpe:2.3:a:php:php:1.0:*:*:*:*:*:*:* | ||
2.0CPE matchmatch criteria | cpe:2.3:a:php:php:2.0:*:*:*:*:*:*:* | ||
2.0b10CPE matchmatch criteria | cpe:2.3:a:php:php:2.0b10:*:*:*:*:*:*:* | ||
3.0CPE matchmatch criteria | cpe:2.3:a:php:php:3.0:*:*:*:*:*:*:* |
CVSS version used by this source: 2.0
AV:N/AC:M/Au:N/C:N/I:P/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.