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

medium Affects symfony/ux-live-component, symfony/ux-twig-component. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

Symfony UX allows unsanitized HTML attribute injection via ComponentAttributes

Package
symfony/ux-live-component Composer
Affected versions
<2.25.1
Fixed in
2.25.1
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 0% (16.7th percentile)
Published
2025-05-19
Source
osv.dev

References

Symfony UX allows unsanitized HTML attribute injection via ComponentAttributes

Package
symfony/ux-twig-component Composer
Affected versions
<2.25.1
Fixed in
2.25.1
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 0% (16.7th percentile)
Published
2025-05-19
Source
osv.dev

References

CWE-79
NVD recordsymfony/ux-live-component advisoriessymfony/ux-twig-component advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories