VYPR
High severity8.2NVD Advisory· Published Jan 4, 2022· Updated Jun 17, 2026

CVE-2022-21648

CVE-2022-21648

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
latte/lattePackagist
>= 2.10.0, < 2.10.82.10.8
latte/lattePackagist
>= 2.9.0, < 2.9.62.9.6
latte/lattePackagist
>= 2.8.0, < 2.8.82.8.8

Affected products

3
  • Nette/Lattecpe-rescue2 versions
    >= 2.10.0, < 2.10.8+ 1 more
    • (no CPE)range: >= 2.10.0, < 2.10.8
    • cpe:2.3:a:nette:latte:*:*:*:*:*:*:*:*range: >=2.8.0,<2.8.8
  • ghsa-coords
    Range: >= 2.10.0, < 2.10.8

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.