CVE-2023-46734

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

State
Published
Severity
6.1 Medium
Published
Nov 10, 2023
Updated
Feb 13, 2025
Reserved
Oct 25, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
symfonysymfony
  • >= 2.0.0, < 4.4.51Affected
  • >= 5.0.0, < 5.4.31Affected
  • >= 6.0.0, < 6.3.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.