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.
Metrics
Affected Vendors & Products
References
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
|
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
|
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
Vulnrichment
Updated: 2024-08-30T18:10:58.539Z
NVD
Status : Analyzed
Published: 2024-08-30T17:15:15.377
Modified: 2024-09-25T19:06:47.717
Link: CVE-2024-45047
Redhat
No data.