CVE-2020-5274Sensiolabs Symfony
Medium 5.4
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Symfony.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 4.4.0 < 4.4.4 |
| sensiolabs | symfony | ≥ 5.0.0 < 5.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory