LOW
A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place
Published Mar 23, 2019
3.7
LOWCVSS 3.1
EPSS 1.41%
Description
A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
3.7 LOW NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact Low
Integrity Impact None
Availability Impact None
No CVSS v3.0 score for this CVE.
4.3 MEDIUM NVD
AV:N/AC:M/Au:N/C:P/I:N/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.41% 0.01405
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
EPSS probability 0.01405
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.41% (0.01405) | 71.61th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.41% (0.01405) | 71.37th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.24% (0.00236) | 62.16th | v3 (v2023.03.01) |
| Mar 16, 2024 | 0.24% (0.00236) | 60.95th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.20% (0.00202) | 56.38th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.18% (0.07176) | 80.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Jan 5, 2022 | 1.04% (0.01040) | 65.70th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
Weaknesses (1)
References (7)
- https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2019-9942.yaml
- https://github.com/advisories/GHSA-vxrc-68xx-x48g Advisory
- https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9942
- https://seclists.org/bugtraq/2019/Mar/60 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://symfony.com/blog/twig-sandbox-information-disclosure x_refsource_MISCPatchVendor Advisory
- https://www.debian.org/security/2019/dsa-4419 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2019-9942.yaml | ||
| https://github.com/advisories/GHSA-vxrc-68xx-x48g | Advisory | |
| https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-9942 | ||
| https://seclists.org/bugtraq/2019/Mar/60 | mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory | |
| https://symfony.com/blog/twig-sandbox-information-disclosure | x_refsource_MISCPatchVendor Advisory | |
| https://www.debian.org/security/2019/dsa-4419 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Mar 23, 2019
Updated Aug 4, 2024
Reserved Mar 23, 2019
Link CVE-2019-9942
CISA Vulnrichment
GHSA-VXRC-68XX-X48G Updated n/a