# CVE-2025-47946: Symfony UX allows unsanitized HTML attribute injection via ComponentAttributes

Source: https://junglewise.ai/threats/cve-2025-47946-symfony-ux-allows-unsanitized-html-attribute-injection-via  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-19  
License: CC BY 4.0 with a link back

CVE-2025-47946 · Severity: low · CVSS 3.1 · Published 2025-05-19

Symfony UX allows unsanitized HTML attribute injection via ComponentAttributes

Technologies: [symfony/ux-live-component (Packagist)](https://junglewise.ai/threats/technologies/symfony-ux-live-component). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-47946 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-47946 being exploited in the wild.

**How severe is CVE-2025-47946?** Low severity, with a CVSS score of 3.1, published 19 May 2025.

**Which products and versions are affected?** symfony/ux-live-component (Packagist) ECOSYSTEM:introduced=0,fixed=2.25.1; symfony/ux-twig-component (Packagist) ECOSYSTEM:introduced=0,fixed=2.25.1.

**Is there a fix for CVE-2025-47946?** Yes. symfony/ux-live-component (Packagist): upgrade to 2.25.1 or later; symfony/ux-twig-component (Packagist): upgrade to 2.25.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-47946?** Check whether you run symfony/ux-live-component (Packagist) or symfony/ux-twig-component (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- symfony/ux-live-component (Packagist): upgrade to 2.25.1 or later

  ```sh
  composer require symfony/ux-live-component:^2.25.1
  ```

- symfony/ux-twig-component (Packagist): upgrade to 2.25.1 or later

  ```sh
  composer require symfony/ux-twig-component:^2.25.1
  ```


## Affected products

- symfony/ux-live-component (Packagist) ECOSYSTEM:introduced=0,fixed=2.25.1
- symfony/ux-twig-component (Packagist) ECOSYSTEM:introduced=0,fixed=2.25.1

## Identifiers

- CVE-2025-47946
- GHSA-5j3w-5pcr-f8hg

## Related threats

- [Symfony UX LiveComponent CSRF in LiveAction invocations](https://junglewise.ai/threats/cve-2026-49215-symfony-ux-livecomponent-csrf-in-liveaction-invocations)
- [Symfony UX insufficient verification of data authenticity in LiveComponent](https://junglewise.ai/threats/cve-2026-49212-symfony-ux-insufficient-verification-of-data-authenticity-in)
- [Symfony UX LiveComponent XSS via unvalidated child component tag](https://junglewise.ai/threats/cve-2026-49210-symfony-ux-livecomponent-xss-via-unvalidated-child-component-tag)
- [Symfony UX LiveComponent denial of service in BatchActionController](https://junglewise.ai/threats/cve-2026-49209-symfony-ux-livecomponent-denial-of-service-in)
- [Symfony UX LiveComponent improper input validation in date hydration](https://junglewise.ai/threats/cve-2026-49208-symfony-ux-livecomponent-improper-input-validation-in-date)
