CVE-2018-13818
** DISPUTED ** Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search...
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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
- Record
CVE-2018-13818- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
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
- Record
CVE-2018-13818- Updated
- 2026-11-02
EUVDEUVD-2018-5754 No score
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
- Record
EUVD-2018-5754- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rgff-87c8-rh44
9.8
** DISPUTED ** Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search...
** 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.
- Record
GHSA-rgff-87c8-rh44- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
9.8
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
- Record
CVE-2018-13818- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-13818
9.8
** 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.
- Record
UBUNTU-CVE-2018-13818- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-13818 is a critical vulnerability (CVSS 9.8) in Symfony Twig, published July 10, 2018. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 6.90%, the 94th percentile.
References
github.com/twigphp/Twig/blob/2.x/CHANGELOG
github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb
exploit-db.com/exploits/44102
github.com/twigphp/Twig/issues/2743
mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20
nvd.nist.gov/vuln/detail/CVE-2018-13818
github.com/advisories/GHSA-rgff-87c8-rh44
ubuntu.com/security/CVE-2018-13818
cve.org/CVERecord?id=CVE-2018-13818