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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.008 (55.5th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 55.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-21648: held from 0.008 to 0.008.

EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000

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.