{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25875","published":"2022-07-12T19:15:08.330000Z","last_modified":"2026-06-17T04:34:25.647000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*","part":"a","vendor":"svelte","product":"svelte","version_end_excluding":"3.49.0"}],"cpes_truncated":false,"vendors":["svelte"],"products":["svelte/svelte"],"epss":{"score":0.01113,"percentile":0.65677,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-wv8q-r932-8hc7","ecosystem":"npm","name":"svelte","purl":"pkg:npm/svelte","ranges":[{"introduced":"0","fixed":"3.49.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-25875/","html_en":"/en/cve/CVE-2022-25875/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25875","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25875"},"untrusted":{"vendor_name":"Svelte","product_name":"Svelte","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990","tags":["Broken Link"]},{"url":"https://snyk.io/vuln/SNYK-JS-SVELTE-2931080","tags":["Exploit","Patch","Third Party Advisory"]}]}}