{"id":"CVE-2018-13818","details":"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","modified":"2026-04-10T04:05:25.069967Z","published":"2018-07-10T14:29:00.480Z","references":[{"type":"ADVISORY","url":"https://github.com/twigphp/Twig/blob/2.x/CHANGELOG"},{"type":"FIX","url":"https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb"},{"type":"EVIDENCE","url":"https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/44102/"},{"type":"EVIDENCE","url":"https://github.com/twigphp/Twig/issues/2743"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/twigphp/twig","events":[{"introduced":"0"},{"fixed":"eddb97148ad779f27e670e1e3f19fb323aedafeb"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.4.4"}]}}],"versions":["v0.9.0","v0.9.1","v0.9.10","v0.9.2","v0.9.4","v0.9.5","v0.9.6","v0.9.7","v0.9.8","v0.9.9","v1.0.0","v1.0.0-RC1","v1.0.0-RC2","v1.1.0","v1.1.0-RC1","v1.1.0-RC2","v1.1.0-RC3","v1.1.1","v1.1.2","v1.10.0","v1.10.1","v1.10.2","v1.10.3","v1.11.0","v1.11.1","v1.12.0","v1.12.0-RC1","v1.12.1","v1.12.2","v1.12.3","v1.13.0","v1.13.1","v1.13.2","v1.14.0","v1.14.1","v1.14.2","v1.15.0","v1.15.1","v1.16.0","v1.16.1","v1.16.2","v1.16.3","v1.17.0","v1.18.0","v1.2.0","v1.2.0-RC1","v1.3.0","v1.3.0-RC1","v1.4.0","v1.4.0-RC1","v1.4.0-RC2","v1.5.0","v1.5.0-RC1","v1.5.0-RC2","v1.5.1","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.7.0","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.9.0","v1.9.1","v1.9.2","v2.0.0","v2.1.0","v2.2.0","v2.3.0","v2.3.1","v2.3.2","v2.4.0","v2.4.1","v2.4.2","v2.4.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13818.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}