{"id":"EUVD-2022-6441","enisaUuid":"c3c839d5-9cac-3d10-953e-18990eb3e3af","description":"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.","datePublished":"Jul 12, 2022, 2:20:17 PM","dateUpdated":"Sep 17, 2024, 4:14:01 AM","baseScore":5.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","references":"https://snyk.io/vuln/SNYK-JS-SVELTE-2931080\nhttps://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990\nhttps://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907\n","aliases":"CVE-2022-25875\nGHSA-wv8q-r932-8hc7\n","assigner":"snyk","epss":1.44,"enisaIdProduct":[{"id":"fb84d95b-5ad6-36fb-b27b-4f04eb8d830e","product":{"name":"svelte","vendor":{"name":"sveltejs"}},"product_version":"unspecified \u003c3.49.0"}],"enisaIdVendor":[{"id":"c2afdbf2-0e49-3fc7-bef5-adc64b9fb843","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"5296b9d5-622f-3262-9dd9-4e512ce00a0c","vulnerability":{"id":"CVE-2022-25875","description":"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.","datePublished":"Jul 12, 2022, 2:20:17 PM","dateUpdated":"Sep 17, 2024, 4:14:01 AM","status":"PUBLISHED","baseScore":5.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","references":"https://snyk.io/vuln/SNYK-JS-SVELTE-2931080\nhttps://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990\nhttps://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907\n","enisa_id":"EUVD-2022-6441\n","assigner":"snyk","epss":1.44,"dataProcessed":"Nov 24, 2026, 7:21:36 AM","vulnerabilityProduct":[{"id":"8c8dda23-d9db-3fc1-a432-99d084a35e7d","product":{"name":"svelte","vendor":{"name":"sveltejs"}},"product_version":"unspecified \u003c3.49.0"}],"vulnerabilityVendor":[{"id":"9da616dc-e329-3146-98e2-ea35945bc6fd","vendor":{"name":"n/a"}}]}},{"id":"9008beab-26e5-3e28-82c3-0486235a7821","vulnerability":{"id":"GHSA-wv8q-r932-8hc7","description":"Svelte vulnerable to XSS when using objects during server-side rendering","datePublished":"Jul 13, 2022, 12:00:41 AM","dateUpdated":"Sep 7, 2023, 12:13:26 AM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2022-25875\nhttps://github.com/sveltejs/svelte/pull/7530#23issuecomment-1158575990\nhttps://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907\nhttps://github.com/sveltejs/svelte\nhttps://snyk.io/vuln/SNYK-JS-SVELTE-2931080\n","enisa_id":"EUVD-2022-6441\n","aliases":"CVE-2022-25875\nGHSA-wv8q-r932-8hc7\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:29:51 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}