CRITICAL
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter
Published Jul 10, 2018
9.8
CRITICALCVSS 3.0
EPSS 6.90%
Description
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
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
9.8 CRITICAL NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
7.5 HIGH NVD
AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
6.90% 0.06902
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
EPSS probability 0.06902
Score over time
2021-2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (35 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 6.90% (0.06902) | 93.89th | v5 (v2026.06.15) |
| Sep 22, 2026 | 6.90% (0.06902) | 93.78th | v5 (v2026.06.15) |
| Sep 21, 2026 | 5.85% (0.05855) | 92.91th | v5 (v2026.06.15) |
| Sep 20, 2026 | 6.90% (0.06902) | 93.78th | v5 (v2026.06.15) |
| Sep 6, 2026 | 6.99% (0.06990) | 93.71th | v5 (v2026.06.15) |
| Sep 5, 2026 | 5.93% (0.05929) | 92.84th | v5 (v2026.06.15) |
| Aug 30, 2026 | 6.99% (0.06990) | 93.68th | v5 (v2026.06.15) |
| Aug 28, 2026 | 5.93% (0.05929) | 92.79th | v5 (v2026.06.15) |
| Aug 24, 2026 | 6.99% (0.06990) | 93.64th | v5 (v2026.06.15) |
| Aug 23, 2026 | 5.93% (0.05929) | 92.76th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.99% (0.06990) | 93.30th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.56% (0.00565) | 67.55th | v4 (v2025.03.14) |
| Jul 28, 2025 | 2.72% (0.02724) | 85.33th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.13% (0.04130) | 87.56th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.76% (0.09762) | 88.16th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.13% (0.04130) | 87.87th | v4 (v2025.03.14) |
| Jul 20, 2024 | 5.96% (0.05961) | 93.54th | v3 (v2023.03.01) |
| Dec 1, 2023 | 5.96% (0.05961) | 92.65th | v3 (v2023.03.01) |
| Oct 19, 2023 | 8.32% (0.08318) | 93.65th | v3 (v2023.03.01) |
| Aug 27, 2023 | 9.09% (0.09094) | 93.86th | v3 (v2023.03.01) |
| Aug 8, 2023 | 10.59% (0.10593) | 94.26th | v3 (v2023.03.01) |
| Jul 22, 2023 | 9.69% (0.09693) | 94.00th | v3 (v2023.03.01) |
| Jul 8, 2023 | 15.09% (0.15092) | 95.08th | v3 (v2023.03.01) |
| Jul 4, 2023 | 14.86% (0.14862) | 95.02th | v3 (v2023.03.01) |
| Jun 1, 2023 | 15.19% (0.15191) | 95.01th | v3 (v2023.03.01) |
| May 8, 2023 | 20.13% (0.20128) | 95.58th | v3 (v2023.03.01) |
| Apr 30, 2023 | 20.42% (0.20416) | 95.62th | v3 (v2023.03.01) |
| Mar 7, 2023 | 21.73% (0.21734) | 95.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.94% (0.08944) | 94.01th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.94% (0.08944) | 93.48th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.94% (0.08944) | 83.03th | v2 (v2022.01.01) |
| Feb 3, 2022 | 5.68% (0.05680) | 80.53th | v1 |
| Jan 6, 2022 | 5.68% (0.05680) | 80.34th | v1 |
| Sep 1, 2021 | 5.68% (0.05680) | 89.01th | v1 |
| Apr 14, 2021 | 5.68% (0.05680) | 0.00th | v1 |
Weaknesses (1)
References (5)
- https://github.com/twigphp/Twig/blob/2.x/CHANGELOG x_refsource_MISCRelease Notes
- https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb x_refsource_MISCPatchThird Party Advisory
- https://github.com/twigphp/Twig/issues/2743 x_refsource_MISCExploitThird Party Advisory
- https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 x_refsource_MISCExploitThird Party Advisory
- https://www.exploit-db.com/exploits/44102/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
| Link | Providers | Tags |
|---|---|---|
| https://github.com/twigphp/Twig/blob/2.x/CHANGELOG | x_refsource_MISCRelease Notes | |
| https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/twigphp/Twig/issues/2743 | x_refsource_MISCExploitThird Party Advisory | |
| https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 | x_refsource_MISCExploitThird Party Advisory | |
| https://www.exploit-db.com/exploits/44102/ | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jul 10, 2018
Updated Aug 5, 2024
Reserved Jul 10, 2018
Link CVE-2018-13818
CISA Vulnrichment
Updated n/a