The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input…
Historical advisory recorded 24 Oct 2026 20:17:12 UTC. Read the latest advisory.
nvd · CVE-2022-25875
PublishedThe package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2022-25875
PublishedThe package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is po…
The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-79
Original publisher date fields
published: 2022-07-12T19:15:08.330
lastModified: 2026-06-17T04:34:25.647
1 source CPE criteria · context only
- cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 12 Jul 2022 19:15:08 UTC
- Source modified
- 17 Jun 2026 04:34:25 UTC
- Saved here
- 24 Oct 2026 20:17:12 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS 3.1 · [email protected] · Primary · 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0 · [email protected] · Primary · 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N