CVE-2023-46734
published 2023-11-10CVE-2023-46734: 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…
PriorityP427medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
0.68%
48.4th percentile
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | < symfony 5.4.23+dfsg-1+deb12u1 (bookworm) | symfony 5.4.23+dfsg-1+deb12u1 (bookworm) |
| sensiolabs | symfony | >= 2.0.0 < 4.4.51 | 4.4.51 |
| sensiolabs | symfony | >= 5.0.0 < 5.4.31 | 5.4.31 |
| sensiolabs | symfony | >= 6.0.0 < 6.3.8 | 6.3.8 |
| sensiolabs | twig | >= 2.0.0 < 4.4.51 | 4.4.51 |
| sensiolabs | twig | >= 5.0.0 < 5.4.31 | 5.4.31 |
| sensiolabs | twig | >= 6.0.0 < 6.3.8 | 6.3.8 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 4.4.19+dfsg-2+deb11u4 | 4.4.19+dfsg-2+deb11u4 |
| symfony | symfony | >= 0 < 5.4.23+dfsg-1+deb12u1 | 5.4.23+dfsg-1+deb12u1 |
| symfony | symfony | >= 0 < 5.4.31+dfsg-1 | 5.4.31+dfsg-1 |
| symfony | symfony | >= 0 < 5.4.31+dfsg-1 | 5.4.31+dfsg-1 |
| symfony | symfony | >= 0 < 4.3.8+dfsg-1ubuntu1+esm2 | 4.3.8+dfsg-1ubuntu1+esm2 |
| symfony | symfony | >= 0 < 5.4.4+dfsg-1ubuntu8+esm1 | 5.4.4+dfsg-1ubuntu8+esm1 |
| symfony | symfony | >= 0 < 6.4.5+dfsg-3ubuntu3+esm1 | 6.4.5+dfsg-3ubuntu3+esm1 |
| symfony | symfony | >= 2.0.0 < 4.4.51 | 4.4.51 |
| symfony | symfony | >= 5.0.0 < 5.4.31 | 5.4.31 |
| symfony | symfony | >= 6.0.0 < 6.3.8 | 6.3.8 |
| symfony | twig-bridge | >= 2.0.0 < 4.4.51 | 4.4.51 |
| symfony | twig-bridge | >= 5.0.0 < 5.4.31 | 5.4.31 |
| symfony | twig-bridge | >= 6.0.0 < 6.3.8 | 6.3.8 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
osv8.8HIGH
vendor_debian6.1MEDIUM
vendor_ubuntu5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
symfony vulnerabilities
osv·2025-02-18·CVSS 8.8
CVE-2022-24894 [HIGH] symfony vulnerabilities
symfony vulnerabilities
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query strings. An attacker could possibly
use this issue to expose sens
GHSA
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
ghsa·2023-11-12
CVE-2023-46734 [MEDIUM] CWE-79 Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
### Description
Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe.
### Resolution
Symfony now escapes the output of the affected filters.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c) for branch 4.4.
### Credits
We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.
OSV
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
osv·2023-11-12
CVE-2023-46734 [MEDIUM] Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters
### Description
Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe.
### Resolution
Symfony now escapes the output of the affected filters.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c) for branch 4.4.
### Credits
We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.
OSV
CVE-2023-46734: Symfony is a PHP framework for web and console applications and a set of reusable PHP components
osv·2023-11-10·CVSS 6.1
CVE-2023-46734 [MEDIUM] CVE-2023-46734: Symfony is a PHP framework for web and console applications and a set of reusable PHP components
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.
Ubuntu
Symfony vulnerabilities
vendor_ubuntu·2025-02-18·CVSS 5.9
CVE-2022-24895 [MEDIUM] Symfony vulnerabilities
Title: Symfony vulnerabilities
Summary: Several security issues were fixed in Symfony.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in
the web cache. An attacker could possibly use this issue to obtain
sensitive information and access unauthorized resources. (CVE-2022-24894)
Marco Squarcina discovered that Symfony incorrectly handled the storage of
user session information. An attacker could possibly use this issue to
perform a cross-site request forgery (CSRF) attack. (CVE-2022-24895)
Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An
attacker could possibly use this issue to perform cross site scripting.
(CVE-2023-46734)
Vladimir Dusheyko discovered that Symfony incorrectly sanitized special
input with a PHP directive in URL query s
Debian
CVE-2023-46734: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
vendor_debian·2023·CVSS 6.1
CVE-2023-46734 [MEDIUM] CVE-2023-46734: symfony - Symfony is a PHP framework for web and console applications and a set of reusabl...
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.
Scope: local
bookworm: resolved (fixed in 5.4.23+dfsg-1+deb12u1)
bullseye: resolved (fixed in 4.4.19+dfsg-2+deb11u4)
forky: resolved (fixed in 5.4.31+dfsg-1)
sid: resolved (fixed in 5.4.31+dfsg-1)
trixie: resolved (fixed in 5.4.31+dfsg-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7chttps://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3https://lists.debian.org/debian-lts-announce/2023/11/msg00019.htmlhttps://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7chttps://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html
2023-11-10
Published