CVE Feed

    Dashboard / CVE / CVE-2026-46633

    CVE-2026-46633

    Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.

    Published:Jul 14, 2026
    Last Modified:Jul 15, 2026
    EPS:Jul 14, 2026
    EPSS Score:0.0052
    CVSS Score:8.7

    Affected Products

    Vendor
    Twigphp
    Product
    Twig

    Exploits

    No exploit reference

    Related CVEs

    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