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.

Published at
2022-01-04
12 days ago
Modified
2022-01-04
12 days ago
2022
Year
The year of the turtle

https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j

CONFIRM:https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j

https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0

MISC:https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0

Vulnerability RAW

{
	"Title": {
		"_text": "CVE-2022-21648"
	},
	"Notes": {
		"Note": [
			{
				"_text": "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."
			},
			{
				"_text": "2022-01-04"
			},
			{
				"_text": "2022-01-04"
			}
		]
	},
	"CVE": {
		"_text": "CVE-2022-21648"
	},
	"References": {
		"Reference": [
			{
				"URL": {
					"_text": "https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j"
				},
				"Description": {
					"_text": "CONFIRM:https://github.com/nette/latte/security/advisories/GHSA-36m2-8rhx-f36j"
				}
			},
			{
				"URL": {
					"_text": "https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0"
				},
				"Description": {
					"_text": "MISC:https://github.com/nette/latte/commit/9e1b4f7d70f7a9c3fa6753ffa7d7e450a3d4abb0"
				}
			}
		]
	}
}