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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.297% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 2.6 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:55:37.979Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:37.979Z | CVE Program |
| epss | verified | 2026-11-19T16:04:28.860Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:59.179Z | OSV |
| affected | verified | 2026-11-19T12:55:37.979Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:37.979Z | CVE Program |
Affected versions and configuration
symfony symfony; default status: unknown: >= 4.4.0 and < 4.4.7 [affected; scheme: unspecified]; >= 5.0.0 and < 5.0.7 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "symfony",
"product": "symfony",
"versions": [
{
"status": "affected",
"version": ">= 4.4.0 and < 4.4.7"
},
{
"status": "affected",
"version": ">= 5.0.0 and < 5.0.7"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/",
"name": "FEDORA-2020-fade6a8df7",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T08:22:09.086Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-mcx4-f5f5-4859",
"aliases": [
"BIT-symfony-2020-5255",
"CVE-2020-5255"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.7"
}
]
}
],
"package": {
"name": "symfony/http-foundation",
"purl": "pkg:composer/symfony/http-foundation",
"ecosystem": "Packagist"
},
"versions": [
"v4.4.0",
"v4.4.1",
"v4.4.2",
"v4.4.3",
"v4.4.4",
"v4.4.5",
"v4.4.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-mcx4-f5f5-4859/GHSA-mcx4-f5f5-4859.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.7"
}
]
}
],
"package": {
"name": "symfony/http-foundation",
"purl": "pkg:composer/symfony/http-foundation",
"ecosystem": "Packagist"
},
"versions": [
"v5.0.0",
"v5.0.1",
"v5.0.2",
"v5.0.3",
"v5.0.4",
"v5.0.5",
"v5.0.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-mcx4-f5f5-4859/GHSA-mcx4-f5f5-4859.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5255",
"type": "ADVISORY"
},
{
"url": "https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2020-5255.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5255.yaml",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ",
"type": "WEB"
},
{
"url": "https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header",
"type": "WEB"
},
{
"url": "https://symfony.com/cve-2020-5255",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-435"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-03-30T19:28:58Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | symfony/http-foundation | Not a distribution channel | 4.4.7 | Official record |
| ecosystem-boundary | Packagist / package | symfony/http-foundation | Not a distribution channel | 5.0.7 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:51:59.179ZArchived source JSON
Source publication: 2020-03-30T20:09:16.000Z
Source modification: 2026-09-10T03:48:29.528ZDocument fingerprint
c2e8559cdfb2d14293321a9d363c8ed3aa32fb93a6b125a115bfb87d1ea2c2f0 - CVE ProgramConsulted: 2026-11-19T12:55:37.979ZArchived source JSON
Source publication: 2020-03-30T19:30:15.000Z
Source modification: 2024-08-04T08:22:09.086ZDocument fingerprint
cf92d909860dd8247d61aac83ca4633bf05cf15d8ab77f7928e0ac09459677c0 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:28.860ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f5c8827616eb2ca04211842edac88756217214ce2eeb1487530f7c0502297196
Official status history
- UNKNOWN → PUBLISHED · · evidence