# Twig Sandbox Information Disclosure

Advisory record · `GHSA-vxrc-68xx-x48g`

- **Identifiers:** `GHSA-vxrc-68xx-x48g` · `CVE-2019-9942` · `PKSA-6cvh-gt46-wq7q`
- **State:** Confirmed
- **Severity:** CVSS 3.7 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 26 Mar 2022
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 26 Mar 2022, 00:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `twig/twig` (Packagist): affected `<1.38.0 || >=2.0.0, <2.7.0`; fixed in `1.38.0`, `2.7.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 3.7 Low, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.014, the 73rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vxrc-68xx-x48g)

## Sources

- [GitHub Advisory Database: GHSA-vxrc-68xx-x48g](https://github.com/advisories/GHSA-vxrc-68xx-x48g)
- [OSV: GHSA-vxrc-68xx-x48g](https://osv.dev/vulnerability/GHSA-vxrc-68xx-x48g)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-9942>
- <https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2019-9942.yaml>
- <https://github.com/twigphp/Twig>
- <https://seclists.org/bugtraq/2019/Mar/60>
- <https://symfony.com/blog/twig-sandbox-information-disclosure>
- <https://www.debian.org/security/2019/dsa-4419>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vxrc-68xx-x48g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vxrc-68xx-x48g/>. Everything for agents: <https://agentprime.io/llms.txt>.
