CVE-2020-5274
MEDIUM 5.4CVSS 3.1Exceptions displayed in non-debug configurations in Symfony
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
- Published
- 30 Mar 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-209
- Also known as
- BIT-symfony-2020-5274GHSA-m884-279h-32v2
- Sources
- NVDJSONOSV GHSA-m884-279h-32v2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.4 | 4.4.4 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.4 | 5.0.4 |
| OSV | Packagist | symfony/error-handler | >= 4.4.0, < 4.4.4 | 4.4.4 |
| OSV | Packagist | symfony/error-handler | >= 5.0.0, < 5.0.4 | 5.0.4 |
| OSV | Packagist | symfony/symfony | >= 4.4.0, < 4.4.4 | 4.4.4 |
| OSV | Packagist | symfony/symfony | >= 5.0.0, < 5.0.4 | 5.0.4 |
References
- https://github.com/symfony/symfony/commit/629d21b800a15dc649fb0ae9ed7cd9211e7e45db · Patch, Third Party Advisory, WEB
- https://github.com/symfony/symfony/commit/cf80224589ac05402d4f72f5ddf80900ec94d5ad · Patch, Third Party Advisory, WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-m884-279h-32v2 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5274 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/error-handler/CVE-2020-5274.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5274.yaml · WEB
- https://symfony.com/cve-2020-5274 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Mar 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Mar 2020)