Loading advisory.
Loading advisory.
Prevent cache poisoning via a Response Content-Type header in Symfony
Description
Published 2020-03-30 19:30 UTC · Modified 2026-09-10 03:48 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/http-foundation | Packagist | >= 4.4.0, < 4.4.7 >= 5.0.0, < 5.0.7 versions v4.4.0, v4.4.1, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v5.0.0, v5.0.1, v5.0.2, v5.0.3, v5.0.4, v5.0.5, v5.0.6 | 4.4.7, 5.0.7 | composer require 'symfony/http-foundation:>=4.4.7'composer require 'symfony/http-foundation:>=5.0.7' |
| symfony/symfony | Packagist | >= 4.4.0, < 4.4.7 >= 5.0.0, < 5.0.7 versions v4.4.0, v4.4.1, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v5.0.0, v5.0.1, v5.0.2, v5.0.3, v5.0.4, v5.0.5, v5.0.6 | 4.4.7, 5.0.7 | composer require 'symfony/symfony:>=4.4.7'composer require 'symfony/symfony:>=5.0.7' |
When a Response does not contain a Content-Type header, Symfony falls back to the format defined in the Accept header of the request, leading to a possible mismatch between the response's content and Content-Type header. When the response is cached, this can lead to a corrupted cache where the cached format is not the right one.
Symfony does not use the Accept header anymore to guess the Content-Type.
The patch for this issue is available here for the 4.4 branch.
I would like to thank Xavier Lacot from JoliCode for reporting & Yonel Ceruto and Tobias Schultze for fixing the issue.
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 |