CVE-2018-13818

Summary

CVECVE-2018-13818
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-10 14:29:00 UTC
Updated2023-11-07 02:52:00 UTC
Description** DISPUTED ** 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.

Risk And Classification

Problem Types: CWE-94

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Symfony Twig All All All All
Application Symfony Twig All All All All

References

ReferenceSourceLinkTags
Twig/CHANGELOG at 2.x · twigphp/Twig · GitHub MISC github.com Release Notes
CVE-2018-13818 · Issue #2743 · twigphp/Twig · GitHub MISC github.com Exploit, Third Party Advisory
Jameel Nabbo na Twitterze: "hahaha, the idea I've done it in BlackBox testing, But I'll give the way of finding it, If the system is using Twig, all you have to do is simply by intercepting the requests by @Burp_Suite and look to any Param that accept GET/POST and put the following{{2+2}} if you saw 4 :)… https://t.co/RFFg7xrqPP" MISC mobile.twitter.com Exploit, Third Party Advisory
Twig < 2.4.4 - Server Side Template Injection - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
prepared the 2.4.4 release · twigphp/Twig@eddb971 · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report