Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-nette (PTS) | jessie, jessie (lts) | 2.1.5-1+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 2.4-20160731-1+deb9u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-nette | source | jessie | (not affected) | | | |
php-nette | source | stretch | (not affected) | | | |
php-nette | source | (unstable) | (unfixed) | | | |
Notes
[stretch] - php-nette <not-affected> (Sandbox first appeared in Latte 2.8.0 so older versions are not affected.)
https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j
https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0
[jessie] - php-nette <not-affected> (Sandbox first appeared in Latte 2.8.0 so older versions are not affected.)