CVE-2020-5255

Prevent cache poisoning via a Response Content-Type header

MEDIUM
4.3
CVSS Score
Published: March 30, 2020 at 07:30 PM UTC
Updated: June 17, 2026 at 03:21 AM UTC
2 products affected across 2 vendorsSymfonySymfony

Using symfony by symfony?

Get instant alerts when new vulnerabilities affect symfony - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.4.0 ≤ v < 4.4.75.0.0 ≤ v < 5.0.7
Affected range stops below 4.4.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.7, so it looks safe — our inference, not a vendor statement
v < 4.4.7v < 5.0.7
Affected range stops below 4.4.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.7, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-435CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card