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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nette | Latte | >= 2.8.0, < 2.8.8 |
Related Weaknesses (CWE)
References
- https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0PatchThird Party Advisory
- https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36jThird Party Advisory
- https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0PatchThird Party Advisory
- https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36jThird Party Advisory
FAQ
What is CVE-2022-21648?
CVE-2022-21648 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 injecti...
How severe is CVE-2022-21648?
CVE-2022-21648 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-21648?
Check the references section above for vendor advisories and patch information. Affected products include: Nette Latte.