Live threats

All CVEs / Sensiolabs

CVE-2020-5274Sensiolabs Symfony

Medium 5.4

Priority
33
CVSS 3.1
5.4
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
Mar 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-209
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/error-handler ≥ 4.4.0 < 4.4.4 4.4.4 composer require "symfony/error-handler:^4.4.4"
Packagist symfony/error-handler ≥ 5.0.0 < 5.0.4 5.0.4 composer require "symfony/error-handler:^5.0.4"
Packagist symfony/symfony ≥ 4.4.0 < 4.4.4 4.4.4 composer require "symfony/symfony:^4.4.4"
Packagist symfony/symfony ≥ 5.0.0 < 5.0.4 5.0.4 composer require "symfony/symfony:^5.0.4"

Per OSV / GitHub Advisories (GHSA-m884-279h-32v2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 4.4.0 < 4.4.4
sensiolabssymfony≥ 5.0.0 < 5.0.4

Official sources

References

Links published by the sources. Open them with care.