Home / symfony / ux / CVE-2025-47946
CVE-2025-47946: is it exploited, and which versions of symfony ux are affected and fixed?
CVE-2025-47946 is a cross-site scripting (XSS) vulnerability in symfony ux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: symfony/ux-twig-component before 2.25.1 and symfony/ux-live-component before 2.25.1 (GitHub advisory GHSA-5j3w-5pcr-f8hg). Fixed in 2.25.1 (GitHub advisory GHSA-5j3w-5pcr-f8hg). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-47946?
symfony/ux-live-component and symfony/ux-twig-component vulnerable to unsanitized HTML attribute injection via ComponentAttributes
Symfony UX is an initiative and set of libraries to integrate JavaScript tools into applications. Prior to version 2.25.1, rendering `{{ attributes }}` or using any method that returns a `ComponentAttributes` instance (e.g. `only()`, `defaults()`, `without()`) ouputs attribute values directly without escaping. If these values are unsafe (e.g. contain user input), this can lead to HTML attribute injection and XSS vulnerabilities. The issue is fixed in version `2.25.1` of `symfony/ux-twig-component` Those who use `symfony/ux-live-component` must also update it to `2.25.1` to benefit from the fix, as it reuses the `ComponentAttributes` class internally. As a workaround, avoid rendering `{{ attributes }}` or derived objects directly if it may contain untrusted values. Instead, use `{{ attributes.render('name') }}` for safe output of individual attributes.
From the CVE record by GitHub_M, last updated May 20, 2025, 13:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| symfony | ux | < 2.25.1 |
As the CVE record by GitHub_M states it, last updated May 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/ux-twig-component | < 2.25.1 | 2.25.1 | GHSA-5j3w-5pcr-f8hg |
| Packagist | symfony/ux-live-component | < 2.25.1 | 2.25.1 | GHSA-5j3w-5pcr-f8hg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2025. Summary: Symfony UX allows unsanitized HTML attribute injection via ComponentAttributes.
How severe is CVE-2025-47946?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-47946 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 20, 2025)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/symfony/ux/security/advisories/GHSA-5j3w-5pcr-f8hg x_refsource_CONFIRM
- https://github.com/symfony/ux/commit/b5d1c85995c128cb926d47a96cfbfbd500b643a8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 14, 2025
- Published
- May 19, 2025, 19:25 UTC
- CVE record updated
- May 20, 2025, 13:01 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:28 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ux?
- Jul 17, 2026CVE-2026-49215 symfony ux: cross-site request forgery (CSRF)
- Jul 17, 2026CVE-2026-49216 symfony ux: cross-site scripting (XSS)
- Jul 17, 2026CVE-2026-49211 symfony ux: information disclosure
- Jul 17, 2026CVE-2026-49208 symfony ux: improper input validation
- Jul 17, 2026CVE-2026-49210 symfony ux: cross-site scripting (XSS)
- Jul 17, 2026CVE-2026-49212 symfony ux: data authenticity not verified
- Jul 17, 2026CVE-2026-49209 symfony ux: denial of service (resources allocated without limits)
- Jul 8, 2026CVE-2026-55877 symfony ux: cross-site scripting (XSS)
Questions about CVE-2025-47946
Is CVE-2025-47946 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of symfony ux are affected by CVE-2025-47946?
symfony/ux-twig-component before 2.25.1 and symfony/ux-live-component before 2.25.1, per the GitHub advisory GHSA-5j3w-5pcr-f8hg. The tables above give every range the sources list.
Which version fixes CVE-2025-47946?
2.25.1, per the GitHub advisory GHSA-5j3w-5pcr-f8hg. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-47946?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-47946?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.