// For flags

CVE-2023-46734

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Severity Score

6.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

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.

Symfony es un framework PHP para aplicaciones web y de consola y un conjunto de componentes PHP reutilizables. A partir de las versiones 2.0.0, 5.0.0 y 6.0.0 y anteriores a las versiones 4.4.51, 5.4.31 y 6.3.8, algunos filtros Twig en CodeExtension usan `is_safe=html` pero en realidad no garantizan su la entrada es segura. A partir de las versiones 4.4.51, 5.4.31 y 6.3.8, Symfony ahora escapa a la salida de los filtros afectados.

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. 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 attack. Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2023-10-25 CVE Reserved
  • 2023-11-10 CVE Published
  • 2025-02-13 CVE Updated
  • 2025-03-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Sensiolabs
Search vendor "Sensiolabs"
Symfony
Search vendor "Sensiolabs" for product "Symfony"
>= 2.0.0 < 4.4.51
Search vendor "Sensiolabs" for product "Symfony" and version " >= 2.0.0 < 4.4.51"
-
Affected
Sensiolabs
Search vendor "Sensiolabs"
Symfony
Search vendor "Sensiolabs" for product "Symfony"
>= 5.0.0 < 5.4.31
Search vendor "Sensiolabs" for product "Symfony" and version " >= 5.0.0 < 5.4.31"
-
Affected
Sensiolabs
Search vendor "Sensiolabs"
Symfony
Search vendor "Sensiolabs" for product "Symfony"
>= 6.0.0 < 6.3.8
Search vendor "Sensiolabs" for product "Symfony" and version " >= 6.0.0 < 6.3.8"
-
Affected
Sensiolabs
Search vendor "Sensiolabs"
Twig
Search vendor "Sensiolabs" for product "Twig"
>= 2.0.0 < 4.4.51
Search vendor "Sensiolabs" for product "Twig" and version " >= 2.0.0 < 4.4.51"
-
Affected
Sensiolabs
Search vendor "Sensiolabs"
Twig
Search vendor "Sensiolabs" for product "Twig"
>= 5.0.0 < 5.4.31
Search vendor "Sensiolabs" for product "Twig" and version " >= 5.0.0 < 5.4.31"
-
Affected
Sensiolabs
Search vendor "Sensiolabs"
Twig
Search vendor "Sensiolabs" for product "Twig"
>= 6.0.0 < 6.3.8
Search vendor "Sensiolabs" for product "Twig" and version " >= 6.0.0 < 6.3.8"
-
Affected