Vulnerability

CVE-2009-4142

mediumCVSS 2.0 4.3Published 21 Dec 2009

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • PHP php

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning