CVE-2022-21648

    Dashboard / Vulnerabilities / CVE-2022-21648

    CVE-2022-21648

    Published: 4 Jan 2022Last Modified: 12 Aug 2026

    Summary: Sandbox bypass in Latte templates

    Details: Latte is an open source template engine for PHP. Versions since 2.8.0 Latte has included a template sandbox and in affected versions it has been found that a sandbox escape exists allowing for injection into web pages generated from Latte. This may lead to XSS attacks. The issue is fixed in the versions 2.8.8, 2.9.6 and 2.10.8. Users unable to upgrade should not accept template input from untrusted sources.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 4cd61a413ac6dadf918281f4626f19b6f99c7978

    Affected versions

    v2.10.7
    v2.10.6
    v2.10.5
    v2.10.4
    v2.10.3
    v2.10.2
    v2.10.1

    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
    CVE-2022-21648 | CVE-DB