Medium severity4.6NVD Advisory· Published Mar 30, 2020· Updated Jun 17, 2026
CVE-2020-5274
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/error-handlerPackagist | >= 4.4.0, < 4.4.4 | 4.4.4 |
symfony/error-handlerPackagist | >= 5.0.0, < 5.0.4 | 5.0.4 |
symfony/symfonyPackagist | >= 4.4.0, < 4.4.4 | 4.4.4 |
symfony/symfonyPackagist | >= 5.0.0, < 5.0.4 | 5.0.4 |
Affected products
5cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*range: >=4.4.0,<4.4.4
- (no CPE)range: >= 4.0.0, < 4.4.5
- osv-coords3 versions
>= 4.4.0, < 4.4.4+ 2 more
- (no CPE)range: >= 4.4.0, < 4.4.4
- (no CPE)range: >= 4.4.0, < 4.4.4
- (no CPE)range: >= 4.4.0, < 4.4.4
Patches
Vulnerability mechanics
References
8- github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45dbnvdPatchThird Party AdvisoryWEB
- github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5adnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-m884-279h-32v2ghsaADVISORY
- github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2020-5274ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yamlghsaWEB
- symfony.com/cve-2020-5274ghsaWEB
News mentions
0No linked articles in our index yet.