CVE-2023-46734: Symfony - Stored XSS
- Cve: CVE-2023-46734
- Name: Symfony - Stored XSS
- 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.
- Impact: Attackers can inject malicious content leading to cross-site scripting (XSS) attacks.
- Remediation: Update Symfony to versions 4.4.51, 5.4.31, 6.3.8 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to control input data
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00812
- Epss percentile: 0.57914
- Assignee: [email protected]
- Published at: 2023-11-10T18:15:09Z
- Age in days: 1110
- Modified at: 2026-07-29T18:36:47Z
- Patch available: yes
- References total: 4
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-46734
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| sensiolabs:symfony | >= 6.0.0, < 6.3.8; >= 5.0.0, < 5.4.31; >= 2.0.0, < 4.4.51 | /v1/products/sensiolabs/symfony |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| symfony:twig-bridge | >= 6.0.0, < 6.3.8; >= 5.0.0, < 5.4.31; >= 2.0.0, < 4.4.51 | /v1/products/symfony/twig-bridge |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| symfony/symfony | commit, fix, package, security_advisory | yes | /v1/repositories/symfony/symfony |
Index
- Repositories: 11
- Repositories high signal: 4
- Packages: 2
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports