{"answers":{"affected":"2 open source packages ship an affected version, including svelte.","exploited":"There is no known exploitation of GHSA-gw32-9rmw-qwww in the wild and no public exploit code.","fix":"Upgrade svelte to 3.59.2 or later.","what":"GHSA-gw32-9rmw-qwww is a cross-site scripting vulnerability in svelte, published on 16 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-gw32-9rmw-qwww and fix it if it is affected.\n\nWhat it is: GHSA-gw32-9rmw-qwww is a cross-site scripting vulnerability in svelte, published on 16 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-gw32-9rmw-qwww in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- svelte (npm): affected from 3.0.0; fixed in 3.59.2\n- svelte (npm): affected from 3.0.0; fixed in 3.59.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-gw32-9rmw-qwww/ (Markdown: https://insights.sbomify.com/GHSA-gw32-9rmw-qwww/index.md)","id":"GHSA-gw32-9rmw-qwww","markdown":"https://insights.sbomify.com/GHSA-gw32-9rmw-qwww/index.md","name":"GHSA-gw32-9rmw-qwww","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Svelte frontend library","requires_auth":"none","summary":"Server-side rendered Svelte components with two-way bound textarea values fail to escape content, allowing attackers to inject malicious scripts.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\n\nA server-side rendered `\u003ctextarea\u003e` with two-way bound value does not have its value correctly escaped in the rendered HTML.\n\n### Details\n\nIn SSR, `\u003ctextarea bind:value={...}\u003e` does not have its value escaped when it is rendered into the HTML as `\u003ctextarea\u003e...\u003c/textarea\u003e`.\n\n### PoC\n\nPut this in a server-side-rendered Svelte component:\n\n```\n\u003cscript\u003e\n  let value = `test'\"\u003e\u003c/textarea\u003e\u003cscript` + `\u003ealert('BIM');\u003c/sc` + `ript\u003e`;\n\u003c/script\u003e\n\n\u003ctextarea bind:value /\u003e\n```\n\n### Impact\n\n- Only affects SSR\n- Needs a `\u003ctextarea bind:value\u003e` filled by user content via two-way binding","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"svelte is vulnerable to XSS with textarea bind:value","id":"GHSA-gw32-9rmw-qwww","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["3.59.2"],"introduced":["3.0.0"],"last_affected":[],"package":"svelte","purl":null,"source":"GHSA-gw32-9rmw-qwww"},{"ecosystem":"npm","fixed":["3.59.2"],"introduced":["3.0.0"],"last_affected":[],"package":"svelte","purl":"pkg:npm/svelte","source":"GHSA-gw32-9rmw-qwww"}],"products":null,"published":"2026-01-16","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Server-side rendered Svelte components with two-way bound textarea values fail to escape content, allowing attackers to inject malicious scripts.","url":"https://insights.sbomify.com/GHSA-gw32-9rmw-qwww/"}