What’s Vulnerable › Vulnerabilities

CVE-2010-3870

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 products

How to fix

Upgrade to a fixed version: PHP 5.2.14, 5.3.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2010-3870 or the next vulnerability affects your stack