CVEvulnerability

CVE-2010-3870

6.8 MEDIUM Published 2010-11-12 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2010-11-12
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-20

Description

The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.

Affected configurations

• php php (< 5.2.14) • php php (>= 5.3.0 < 5.3.4) • canonical ubuntu linux 6.06 • canonical ubuntu linux 8.04 • canonical ubuntu linux 9.10 • canonical ubuntu linux 10.04 • canonical ubuntu linux 10.10

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References