Skip to main content
← All vulnerabilities
CVE-2022-21648GHSA-36M2-8RHX-F36J

Sandbox bypass in Latte templates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.10.8, 2.9.6, 2.8.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nette latte

    From 2.10.0 · fixed in 2.10.8; From 2.9.0 · fixed in 2.9.6; From 2.8.0 · fixed in 2.8.8

  • latte/lattePackagist

    From 2.10.0 · fixed in 2.10.8

  • latte/lattePackagist

    From 2.9.0 · fixed in 2.9.6

  • latte/lattePackagist

    From 2.8.0 · fixed in 2.8.8

References 2

GitHub · nette/latte