CVE-2018-13818Symfony Twig
Critical 9.8 No auth needed
Follow: this CVE · Symfony · Symfony Twig We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Twig.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| symfony | twig | < 2.4.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- mobile.twitter.com Exploit Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry