CVE Feed

    Dashboard / CVE / CVE-2009-4142

    CVE-2009-4142

    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.

    Published:Oct 6, 2009
    Last Modified:Apr 23, 2026
    EPS:Dec 21, 2009
    EPSS Score:0.16946
    CVSS Score:4.3

    Affected Products

    Vendor
    Php
    Product
    Php
    Vendor
    Redhat
    Product
    Enterprise Linux

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High