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.
History

Fri, 30 Aug 2024 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Svelte
Svelte svelte
CPEs cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*
Vendors & Products Svelte
Svelte svelte
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 30 Aug 2024 17:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Potential mXSS vulnerability due to improper HTML escaping in svelte
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-08-30T16:55:39.106Z

Updated: 2024-08-30T18:11:07.734Z

Reserved: 2024-08-21T17:53:51.331Z

Link: CVE-2024-45047

cve-icon Vulnrichment

Updated: 2024-08-30T18:10:58.539Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-08-30T17:15:15.377

Modified: 2024-09-03T12:59:02.453

Link: CVE-2024-45047

cve-icon Redhat

No data.