CVE-2020-5274

Description

In Symfony before versions 5.0.5 and 4.4.5, some properties of the Exception were not properly escaped when the `ErrorHandler` rendered it stacktrace. In addition, the stacktrace were displayed even in a non-debug configuration. The ErrorHandler now escape alls properties of the exception, and the stacktrace is only display in debug configuration. This issue is patched in symfony/http-foundation versions 4.4.5 and 5.0.5

Severity
MEDIUM
CVSS v3
4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
1.197%
chance of exploitation in the next 30 days
higher than 68.6% 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:40 UTC
  2. 2020-03-30GitHub advisory published (GHSA-m884-279h-32v2)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-m884-279h-32v2, affected packages:

PackageVulnerable versionsFixed in
Packagist symfony/error-handlerfrom 4.4.0 before 4.4.44.4.4
Packagist symfony/error-handlerfrom 5.0.0 before 5.0.45.0.4
Packagist symfony/symfonyfrom 4.4.0 before 4.4.44.4.4
Packagist symfony/symfonyfrom 5.0.0 before 5.0.45.0.4

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.4fixed in 4.4.4from 5.0.0 before 5.0.4fixed in 5.0.44.4.45.0.4

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