{"id":"GHSA-f7gr-6p89-r883","revision":"61f6fd7f56ea4022b4f9a408a75d6f0a","records":[{"revision":"61f6fd7f56ea4022b4f9a408a75d6f0a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-f7gr-6p89-r883","aliases":["CVE-2026-27121"],"title":"Svelte affected by cross-site scripting via spread attributes in Svelte SSR","description":"Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers.","state":0,"publishedAt":"2026-02-19T15:18:33+00:00","modifiedAt":"2026-09-10T03:50:34.7684802+00:00","affected":[{"ecosystem":"npm","name":"svelte","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.51.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-f7gr-6p89-r883","https://nvd.nist.gov/vuln/detail/CVE-2026-27121","https://github.com/sveltejs/svelte"],"sourceUrl":"https://github.com/advisories/GHSA-f7gr-6p89-r883","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f7gr-6p89-r883","identifiers":["GHSA-f7gr-6p89-r883","CVE-2026-27121"]},"retained":false,"historicalAffected":[]}],"coverage":[]}