CVE-2025-47946
Last modified
CVE-2025-47946 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-47946?
How severe is CVE-2025-47946?
How do I fix CVE-2025-47946?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-47940TYPO3 is an open source, PHP based web content management sy…7.2
- CVE-2025-47941TYPO3 is an open source, PHP based web content management sy…7.2
- CVE-2025-47942The Open edX Platform is a learning management platform. Pri…5.3
- CVE-2025-47943Gogs is an open source self-hosted Git service. In applicati…6.3
- CVE-2025-47944Multer is a node.js middleware for handling `multipart/form-…7.5
- CVE-2025-47945Donetick an open-source app for managing tasks and chores. P…9.8
- CVE-2025-47947ModSecurity is an open source, cross platform web applicatio…7.5
- CVE-2025-47948Cocotais Bot is a QQ official robot framework based on qq-bo…7.2
- CVE-2025-47949samlify is a Node.js library for SAML single sign-on. A Sign…7.5
- CVE-2025-4795A vulnerability classified as critical has been found in gon…7.2
- CVE-2025-47950CoreDNS is a DNS server that chains plugins. In versions pri…7.5
- CVE-2025-47951Weblate is a web based localization tool. Prior to version 5…4.9
Are you affected by CVE-2025-47946?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
