SCA: security update for symfony/ux-live-component, symfony/ux-twig-component (GHSA-5j3w-5pcr-f8hg)

medium Tenable Cloud Security Plugin ID 434749

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-47946)

See Also

https://github.com/advisories/GHSA-5j3w-5pcr-f8hg

Plugin Details

Severity: Medium

ID: 434749

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 8/19/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.39

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-47946

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/19/2025

Vulnerability Publication Date: 5/19/2025

Reference Information

CVE: CVE-2025-47946

cwe: CWE-79