# Code injection in the way Symfony implements translation caching in FrameworkBundle

Advisory record · `GHSA-wfv7-5x33-v22h`

- **Identifiers:** `GHSA-wfv7-5x33-v22h` · `CVE-2014-4931` · `PKSA-vhr9-kcbz-8dgv` · `PKSA-yjtb-frqz-q7xt`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 30 May 2024
- **Updated:** 30 May 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 May 2024, 00:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/framework-bundle` (Packagist): affected `>=2.0.0, <2.3.18 || >=2.4.0, <2.4.8 || >=2.5.0, <2.5.2`; fixed in `2.3.18`, `2.4.8`, `2.5.2`
- `symfony/symfony` (Packagist): affected `>=2.0.0, <2.3.19 || >=2.4.0, <2.4.9 || >=2.5.0, <2.5.4`; fixed in `2.3.19`, `2.4.9`, `2.5.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Code injection affects symfony/framework-bundle versions from 2.0.0 before 2.3.18, from 2.4.0 before 2.4.8, and from 2.5.0 before 2.5.2, and symfony/symfony versions from 2.0.0 before 2.3.19, from 2.4.0 before 2.4.9, and from 2.5.0 before 2.5.4. An attacker who can submit a locale value through a URL, such as a route with a \_locale argument, can inject PHP code that is executed because the value is written unsanitized into a cached PHP file. Upgrade to 2.3.18, 2.4.8, or 2.5.2 for framework-bundle, or to 2.3.19, 2.4.9, or 2.5.4 for symfony/symfony.

Written 4 Nov 2026.

## 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

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

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:29 UTC: First seen by agentprime
- 31 Oct 2026, 14:29 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wfv7-5x33-v22h)

## Sources

- [GitHub Advisory Database: GHSA-wfv7-5x33-v22h](https://github.com/advisories/GHSA-wfv7-5x33-v22h)
- [OSV: GHSA-wfv7-5x33-v22h](https://osv.dev/vulnerability/GHSA-wfv7-5x33-v22h)
- <https://github.com/symfony/symfony/commit/06a80fbdbe744ad6f3010479ba64ef5cf35dd9af.patch>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/framework-bundle/CVE-2014-4931.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2014-4931.yaml>
- <https://symfony.com/blog/security-releases-cve-2014-4931-symfony-2-3-18-2-4-8-and-2-5-2-released>

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-wfv7-5x33-v22h>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wfv7-5x33-v22h/>. Everything for agents: <https://agentprime.io/llms.txt>.
