CVE-2020-5255

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.

Severity
LOW
CVSS v3
2.6
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
1.297%
chance of exploitation in the next 30 days
higher than 70.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2020-03-30Published by the CNA19:30 UTC
  2. 2020-03-30GitHub advisory published (GHSA-mcx4-f5f5-4859)same day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-mcx4-f5f5-4859, affected packages:

PackageVulnerable versionsFixed in
Packagist symfony/http-foundationfrom 4.4.0 before 4.4.74.4.7
Packagist symfony/http-foundationfrom 5.0.0 before 5.0.75.0.7
Packagist symfony/symfonyfrom 4.4.0 before 4.4.74.4.7
Packagist symfony/symfonyfrom 5.0.0 before 5.0.75.0.7

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
sensiolabs symfonyfrom 4.4.0 before 4.4.7fixed in 4.4.7from 5.0.0 before 5.0.7fixed in 5.0.74.4.75.0.7

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources