CVE-2022-21648
Sandbox bypass in Latte templates
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Latte es un motor de plantillas de código abierto para PHP. Desde la versión 2.8.0, Latte ha incluido un sandbox de plantillas y en las versiones afectadas se ha encontrado que se presenta un escape del sandbox que permite una inyección en páginas web generadas desde Latte. Esto puede conllevar ataques de tipo XSS. El problema se ha corregido en las versiones 2.8.8, 2.9.6 y 2.10.8. Los usuarios que no puedan actualizar no deben aceptar entradas de plantillas de fuentes no confiables
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-11-16 CVE Reserved
- 2022-01-04 CVE Published
- 2024-08-03 CVE Updated
- 2024-09-19 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0 | 2022-01-13 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Nette Search vendor "Nette" | Latte Search vendor "Nette" for product "Latte" | >= 2.8.0 < 2.8.8 Search vendor "Nette" for product "Latte" and version " >= 2.8.0 < 2.8.8" | - |
Affected
| ||||||
Nette Search vendor "Nette" | Latte Search vendor "Nette" for product "Latte" | >= 2.9.0 < 2.9.6 Search vendor "Nette" for product "Latte" and version " >= 2.9.0 < 2.9.6" | - |
Affected
| ||||||
Nette Search vendor "Nette" | Latte Search vendor "Nette" for product "Latte" | >= 2.10.0 < 2.10.8 Search vendor "Nette" for product "Latte" and version " >= 2.10.0 < 2.10.8" | - |
Affected
|