VYPR
Medium severity5.4NVD Advisory· Published Aug 30, 2024· Updated Jun 17, 2026

CVE-2024-45047

CVE-2024-45047

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sveltenpm
< 4.2.194.2.19

Affected products

3
  • Sveltejs/Svelte2 versions
    cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*+ 1 more
    • cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*range: <4.2.19
    • (no CPE)range: < 4.2.19
  • ghsa-coords
    Range: < 4.2.19

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.