CVE-2022-21648

NameCVE-2022-21648
DescriptionLatte 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.
SourceCVE (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 PackageReleaseVersionStatus
php-nette (PTS)jessie, jessie (lts)2.1.5-1+deb8u1fixed
stretch (security), stretch (lts), stretch2.4-20160731-1+deb9u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-nettesourcejessie(not affected)
php-nettesourcestretch(not affected)
php-nettesource(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.)

Search for package or bug name: Reporting problems