{"id":"CVE-2018-13818","published":"2018-07-10T14:00:00Z","modified":"2024-08-05T09:14:47Z","title":"Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06659,"percentile":0.94041,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/twigphp/Twig/blob/2.x/CHANGELOG","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/44102/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/twigphp/Twig/issues/2743","tags":["x_refsource_MISC"]},{"url":"https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20","tags":["x_refsource_MISC"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":18.81},{"name":"Public exploit code","points":5.0}]},"summary":{"text":"Twig, a PHP template engine, contains a Server-Side Template Injection flaw in versions before 2.4.4, triggered through the search_key parameter of the search functionality. The vendor notes that Twig is a library rather than a web application, so exposure depends on how applications built on it pass input to the engine without proper wrapping.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:10Z"},"euvd":{"id":"EUVD-2018-5754","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44102/"]}