CVEvulnerability
CVE-2022-21648
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-01-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• nette latte (>= 2.8.0 < 2.8.8)
• nette latte (>= 2.9.0 < 2.9.6)
• nette latte (>= 2.10.0 < 2.10.8)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0 Patch, Third Party Advisory
- https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j Third Party Advisory
- https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0 Patch, Third Party Advisory
- https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j Third Party Advisory