Home / symfony / symfony / CVE-2020-5255
CVE-2020-5255: is it exploited, and which versions of symfony are affected and fixed?
CVE-2020-5255 is an improper Interaction Between Multiple Correctly-Behaving Entities vulnerability in symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: symfony/http-foundation from 4.4.0 before 4.4.7, symfony/http-foundation from 5.0.0 before 5.0.7, symfony/symfony from 4.4.0 before 4.4.7 and 1 more (GitHub advisory GHSA-mcx4-f5f5-4859). Fixed in 4.4.7 and 5.0.7 (GitHub advisory GHSA-mcx4-f5f5-4859). Severity: Low (2.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-5255?
Prevent cache poisoning via a Response Content-Type header
In Symfony before versions 4.4.7 and 5.0.7, when a `Response` does not contain a `Content-Type` header, affected versions of Symfony can fallback 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 prevent the use of the website by other users. This has been patched in versions 4.4.7 and 5.0.7.
From the CVE record by GitHub_M, last updated August 4, 2024, 08:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| symfony | symfony | >= 4.4.0 and < 4.4.7 >= 5.0.0 and < 5.0.7 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/http-foundation | >= 4.4.0, < 4.4.7 | 4.4.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/http-foundation | >= 5.0.0, < 5.0.7 | 5.0.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/symfony | >= 4.4.0, < 4.4.7 | 4.4.7 | GHSA-mcx4-f5f5-4859 |
| Packagist | symfony/symfony | >= 5.0.0, < 5.0.7 | 5.0.7 | GHSA-mcx4-f5f5-4859 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 8, 2021. Summary: Prevent cache poisoning via a Response Content-Type header in Symfony.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sensiolabs | symfony | from 4.4.0 before 4.4.7 | application |
| sensiolabs | symfony | from 5.0.0 before 5.0.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:21 UTC.
How severe is CVE-2020-5255?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L | GitHub_M |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-5255 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.30% probability of exploitation activity in the next 30 days, percentile 71.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-435 Improper Interaction Between Multiple Correctly-Behaving Entities
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859 x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6 x_refsource_MISC
- https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header x_refsource_MISC
- FEDORA-2020-fade6a8df7 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- January 2, 2020
- Published
- March 30, 2020, 19:30 UTC
- CVE record updated
- August 4, 2024, 08:22 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:21 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect symfony?
- Nov 6, 2026CVE-2026-118514 symfony: incorrect authorization
- Jul 14, 2026CVE-2026-48761 symfony: cross-site scripting (XSS)
- Jul 14, 2026CVE-2026-48747 symfony: cryptographic signature not verified
- Jul 14, 2026CVE-2026-48489 symfony: incorrect authorization
- Jul 14, 2026CVE-2026-48760 symfony: user Interface (UI) Misrepresentation of Critical Information
- Jul 14, 2026CVE-2026-48736 symfony: incomplete List of Disallowed Inputs
- Jul 14, 2026CVE-2026-48784 symfony: improper Encoding or Decoding of Data
- Jul 14, 2026CVE-2026-45068 symfony: argument injection
Questions about CVE-2020-5255
Is CVE-2020-5255 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of symfony are affected by CVE-2020-5255?
symfony/http-foundation from 4.4.0 before 4.4.7, symfony/http-foundation from 5.0.0 before 5.0.7, symfony/symfony from 4.4.0 before 4.4.7 and symfony/symfony from 5.0.0 before 5.0.7, per the GitHub advisory GHSA-mcx4-f5f5-4859. The tables above give every range the sources list.
Which version fixes CVE-2020-5255?
4.4.7 and 5.0.7, per the GitHub advisory GHSA-mcx4-f5f5-4859. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-5255?
Low (2.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5255?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.