CVE-2022-21648
published high CVSS 3.1 · 8.2Sandbox bypass in Latte templates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nette | — | latte>= 2.10.0, < 2.10.8 · >= 2.9.0, < 2.9.6 · >= 2.8.0, < 2.8.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nette | latte | >= 2.10.0, < 2.10.8 (affected)>= 2.9.0, < 2.9.6 (affected)>= 2.8.0, < 2.8.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3GitHub_M · cna
Sandbox bypass in Latte templates
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ffd309683602aaa2131ee39209b42259ec56e1a468255b49c2e217058373aef8
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record