GHSA-xw83-pwrm-9j74

    Dashboard / Vulnerabilities / GHSA-xw83-pwrm-9j74

    GHSA-xw83-pwrm-9j74

    Published: 14 May 2022Last Modified: 30 May 2024
    Aliases:

    Summary: Twig remote code execution in templates

    Details: The `displayBlock` function `Template.php` in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the `_self` variable in a template.

    Affected packages

    Package

    Name: twig/twig

    Purl: pkg:composer/twig/twig

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.20.0

    Affected versions

    1.3.0

    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
    GHSA-xw83-pwrm-9j74 | CVE-DB