NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘 Packagist
Not in CISA KEV

Symfony Vulnerable to PHP Eval InjectionGHSA-5c58-w9xc-qcj9

Fix: symfony/symfony#14167

GHSA-5c58-w9xc-qcj9 is a Code Injection vulnerability in symfony/symfony. A fix is available for symfony/symfony — see the affected versions and patch details below.

Also known asCVE-2015-2308
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Nov 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs71th percentile — riskier than 71% of all scored CVEsHighest risk
0.04%0.65%1.26%1.86%0.5%1.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

6 pkgs affected
🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/http-kernel🐘symfony/http-kernel🐘symfony/http-kernel

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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).

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/symfony≥ 2.0.0&&< 2.3.272.3.27composer require symfony/symfony:^2.3.27
🐘Packagistsymfony/symfony≥ 2.4.0&&< 2.5.112.5.11composer require symfony/symfony:^2.5.11
🐘Packagistsymfony/symfony≥ 2.6.0&&< 2.6.62.6.6composer require symfony/symfony:^2.6.6
🐘Packagistsymfony/http-kernel≥ 2.0.0&&< 2.3.272.3.27composer require symfony/http-kernel:^2.3.27
🐘Packagistsymfony/http-kernel≥ 2.4.0&&< 2.5.112.5.11composer require symfony/http-kernel:^2.5.11
🐘Packagistsymfony/http-kernel≥ 2.6.0&&< 2.6.62.6.6composer require symfony/http-kernel:^2.6.6

Affected Products

1 product · 75 configurations
Application
symfonysensiolabs
75 versions
2.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.92.0.102.0.11

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/symfony, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/symfony to 2.3.27 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5c58-w9xc-qcj9 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is GHSA-5c58-w9xc-qcj9 in your dependencies?

Find it across Packagist, including transitive dependencies.

Symfony Vulnerable to PHP Eval Injection