CVE-2022-21648 - CVE House
Back to Database
Status published High CVE-2022-21648

Sandbox bypass in Latte templates

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-21648

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

latte
Vulnerable Versions:
>= 2.10.0, < 2.10.8, >= 2.9.0, < 2.9.6, >= 2.8.0, < 2.8.8

Timeline

Official Publish: January 4th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Weaknesses (CWE)