symfony — security advisory
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
- Products
- symfony
- Affected versions
- Not specified
- Fixed versions
- 4.4.8-1
- CVEs
- CVE-2020-5274
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:51 UTC · Revision 1
Source evidence
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
osv:DEBIAN-CVE-2020-5274
symfony
Fixed versions: 4.4.8-1
symfony
Fixed versions: 4.4.8-1
symfony
Fixed versions: 4.4.8-1
Complete source record
{
"id": "d444d81d1448b2d9699096e6632e9d7a1ee26139f3946553a32bcbfb4114ea4d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-5274",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-5274",
"summary": "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",
"evidence": "osv:DEBIAN-CVE-2020-5274",
"products": [
{
"name": {
"value": "symfony",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.4.8-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "symfony",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.4.8-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "symfony",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.4.8-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-5274",
"aliases": [
"DEBIAN-CVE-2020-5274"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.8-1"
}
]
}
],
"package": {
"name": "symfony",
"purl": "pkg:deb/debian/symfony?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5274.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.8-1"
}
]
}
],
"package": {
"name": "symfony",
"purl": "pkg:deb/debian/symfony?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5274.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.8-1"
}
]
}
],
"package": {
"name": "symfony",
"purl": "pkg:deb/debian/symfony?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5274.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:44.925349149Z",
"provider": "osv",
"upstream": [
"CVE-2020-5274"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-5274"
]
},
"related_cves": [
{
"value": "CVE-2020-5274",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452919,
"published_at": "2020-03-30T20:15:19.633+00:00"
}