{"cve":"CVE-2024-45047","nvd":{"published":"2024-08-30T17:15:15.377","modified":"2026-06-17T07:53:29.423","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-8266-84wp-wv5c"],"products":["svelte:svelte"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-45047","score":0.00365,"percentile":0.3035,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8266-84wp-wv5c","url":"https://osv.dev/vulnerability/GHSA-8266-84wp-wv5c","summary":"Svelte has a potential mXSS vulnerability due to improper HTML escaping","modified":"2024-08-30T20:01:23Z","packages":[{"ecosystem":"npm","name":"svelte","purl":"pkg:npm/svelte","ranges":["<4.2.19"],"fixed":["4.2.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}