SCA: security update for svelte (GHSA-8266-84wp-wv5c)

medium Tenable Self-Hosted Container Security Plugin ID 412352

Description

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

- svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up
to but not including 4.2.19. Svelte improperly escapes HTML on server-side rendering. The assumption is
that attributes will always stay as such, but in some situation the final DOM tree rendered on browsers is
different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks,
and a type of the XSS is known as mXSS (mutation XSS). More specifically, this can occur when injecting
malicious content into an attribute within a `noscript` tag. This issue has been addressed in release
version 4.2.19. Users are advised to upgrade. There are no known workarounds for this vulnerability.
(CVE-2024-45047)

See Also

https://github.com/advisories/GHSA-8266-84wp-wv5c

Plugin Details

Severity: Medium

ID: 412352

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2024-45047

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 2

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/30/2024

Vulnerability Publication Date: 8/30/2024

Reference Information

CVE: CVE-2024-45047

cwe: CWE-79