Live threats

All CVEs / Symfony

CVE-2018-13818Symfony Twig

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
6.7%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Jul 10, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it

Original NVD text.

What to do

  1. Apply the vendor's security update for Twig.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
symfonytwig< 2.4.4

Official sources

References

Links published by the sources. Open them with care.