symfony — security advisory
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
- Products
- symfony
- Affected versions
- 5.4.23+dfsg-1
- Fixed versions
- 5.4.23+dfsg-1+deb12u1, 5.4.31+dfsg-1
- CVEs
- CVE-2023-46734
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:06 UTC · Revision 1
Source evidence
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
osv:DEBIAN-CVE-2023-46734
symfony
Fixed versions: 5.4.23+dfsg-1+deb12u1
symfony
Fixed versions: 5.4.31+dfsg-1
symfony
Fixed versions: 5.4.31+dfsg-1
Complete source record
{
"id": "9b5252d7db3d77e6b40382148d56f5d8524b852cc753e624316d52f230a75912",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-46734",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-46734",
"summary": "Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.",
"evidence": "osv:DEBIAN-CVE-2023-46734",
"products": [
{
"name": {
"value": "symfony",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.23+dfsg-1+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "5.4.23+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "symfony",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.31+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "symfony",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.31+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-46734",
"aliases": [
"DEBIAN-CVE-2023-46734"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.23+dfsg-1+deb12u1"
}
]
}
],
"package": {
"name": "symfony",
"purl": "pkg:deb/debian/symfony?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5.4.23+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46734.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.31+dfsg-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-2023-46734.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.31+dfsg-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-2023-46734.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:02:42.261078070Z",
"provider": "osv",
"upstream": [
"CVE-2023-46734"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-46734"
]
},
"related_cves": [
{
"value": "CVE-2023-46734",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 456642,
"published_at": "2023-11-10T18:15:09.36+00:00"
}