CVE-2020-5274

Exceptions displayed in non-debug configurations in Symfony

MEDIUM
5.4
CVSS Score
Published: March 30, 2020 at 07:40 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
MEDIUM5.4
Exploit prediction
EPSS 1%

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

Affected

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

4.4.0 ≤ v < 4.4.45.0.0 ≤ v < 5.0.4
Affected range stops below 4.4.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.4, so it looks safe — our inference, not a vendor statement
v < 4.4.5v < 5.0.5
Affected range stops below 4.4.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-209

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