Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2014-4931
Published:May 14, 2026
Updated:May 14, 2026
When investigating issue "#11093" (https://github.com/symfony/symfony/issues/11093), "Jeremy Derussé" (https://connect.sensiolabs.com/profile/jderusse) found a serious code injection issue in the way Symfony implements translation caching in FrameworkBundle. - Your Symfony application is vulnerable if you meet the following conditions: - You are using the Symfony translation system from FrameworkBundle (so basically if you are using Symfony full-stack -- you are not affected if you are using the Translation component with Silex for instance); You don't sanitize locales coming from a URL (any route with a _locale argument for instance): When vulnerable, an attacker can submit a non-valid locale value that can contain some PHP code that will be executed by Symfony. That's because the locale value is dumped into a PHP file generated in the cache without being sanitized first.
Affected Packages
symfony/framework-bundle (PHP):
Affected version(s) >=v2.5.0 <v2.5.2
Fix Suggestion:
Update to version v2.5.2
symfony/framework-bundle (PHP):
Affected version(s) >=v2.4.0 <v2.4.8
Fix Suggestion:
Update to version v2.4.8
symfony/symfony (PHP):
Affected version(s) >=v2.5.0 <v2.5.4
Fix Suggestion:
Update to version v2.5.4
symfony/framework-bundle (PHP):
Affected version(s) >=v2.0.7 <v2.3.18
Fix Suggestion:
Update to version v2.3.18
symfony/symfony (PHP):
Affected version(s) >=v2.4.0 <v2.4.9
Fix Suggestion:
Update to version v2.4.9
symfony/symfony (PHP):
Affected version(s) >=v2.0.0 <v2.3.19
Fix Suggestion:
Update to version v2.3.19
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.6
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')