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

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). 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
    composer require symfony/ux-live-component:^2.25.1
  • symfony/ux-twig-component (Packagist): upgrade to 2.25.1 or later
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.