XSS in Nette Latte

CVE-2022-21648

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.008 (53.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.

Affected products

  • Nette Latte — versions >= 2.10.0, < 2.10.8, >= 2.9.0, < 2.9.6, >= 2.8.0, < 2.8.8

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-21648?
CVE-2022-21648 is a high-severity vulnerability in Nette Latte, classified under Cross-site Scripting. CVSS score: 8.2/10. Published 2022-01-04.
How severe is CVE-2022-21648?
High severity. CVSS v3 base score is 8.2 out of 10.