Loading advisory.
Loading advisory.
Symfony Vulnerable to PHP Eval Injection
Applications with ESI support (and SSI support as of Symfony 2.6) enabled and using the Symfony built-in reverse proxy (the Symfony\Component\HttpKernel\HttpCache class) are vulnerable to PHP code injection; a malicious user can inject PHP code that will be executed by the server.
Published 2015-06-24 10:00 UTC · Modified 2024-12-08 05:24 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/symfony | Packagist | >= 2.0.0, < 2.3.27 >= 2.4.0, < 2.5.11 >= 2.6.0, < 2.6.6 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25 and 99 more | 2.3.27, 2.5.11, 2.6.6 | composer require 'symfony/symfony:>=2.3.27'composer require 'symfony/symfony:>=2.5.11'composer require 'symfony/symfony:>=2.6.6' |
| symfony/http-kernel | Packagist | >= 2.0.0, < 2.3.27 >= 2.4.0, < 2.5.11 >= 2.6.0, < 2.6.6 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9 and 84 more | 2.3.27, 2.5.11, 2.6.6 | composer require 'symfony/http-kernel:>=2.3.27'composer require 'symfony/http-kernel:>=2.5.11'composer require 'symfony/http-kernel:>=2.6.6' |
Applications with ESI support (and SSI support as of Symfony 2.6) enabled and using the Symfony built-in reverse proxy (the `Symfony\Component\HttpKernel\HttpCache class) are vulnerable to PHP code injection; a malicious user can inject PHP code that will be executed by the server.
HttpCache uses eval() to execute files in its cache when they contain ESI tags (and only when ESI is enabled). The vulnerability comes from the fact that PHP allows contents of <script language="php"> tags to be executed (and this kind of PHP tags is always available regardless of the configuration), but there were not escaped before the evaluation.
A possible exploit comes from websites also vulnerable to Cross-Site Scripting as an attacker can successfully conduct a PHP code injection attack by passing such a tag in a user submitted variable (for which proper output escaping was not applied).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.013 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.013 | first score | v2026.06.15 |