XSS in Sensiolabs Symfony
CVE-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 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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.007 (48.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Sensiolabs Symfony
- Sensiolabs Twig
- Symfony — versions >= 2.0.0, < 4.4.51, >= 5.0.0, < 5.4.31, >= 6.0.0, < 6.3.8
- Symfony Twig-bridge
- Debian Debian_linux — versions 10.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Mailing List)
Frequently asked questions
- What is CVE-2023-46734?
- CVE-2023-46734 is a medium-severity vulnerability in Sensiolabs Symfony, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2023-11-10.
- How severe is CVE-2023-46734?
- Medium severity. CVSS v3 base score is 6.1 out of 10.