Skip to content
Fencer Vulns
critical 9.8

CVE-2018-13818 json

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter.

published 2018-07-10 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-5754

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.9%
EPSS 6.9% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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

Patch / fix

  • symfony twig 2.4.4

Exploit prediction

6.90% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • exploit-db.com https://www.exploit-db.com/exploits/44102/ referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/twigphp/Twig/issues/2743 referenced PoC, tagged "exploit" by a source, unverified
  • mobile.twitter.com https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.