{"answers":{"affected":"2 open source packages ship an affected version, including sveltekit-superforms.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62381 exists.","fix":"Upgrade sveltekit-superforms to 2.27.4 or later.","what":"CVE-2025-62381 is a high-severity vulnerability in ciscoheat sveltekit-superforms, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-62381 and fix it if it is affected.\n\nWhat it is: CVE-2025-62381 is a high-severity vulnerability in ciscoheat sveltekit-superforms, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62381 exists.\n\nAffected packages and fixed versions:\n- sveltekit-superforms (npm): affected all versions; fixed in 2.27.4\n- sveltekit-superforms (npm): affected all versions; fixed in 2.27.4\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/CVE-2025-62381/ (Markdown: https://insights.sbomify.com/CVE-2025-62381/index.md)","id":"CVE-2025-62381","markdown":"https://insights.sbomify.com/CVE-2025-62381/index.md","name":"CVE-2025-62381","record":{"aliases":["GHSA-hwmc-4c8j-xxj7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SvelteKit form library","requires_auth":"none","summary":"Prototype pollution in sveltekit-superforms allows attackers to inject properties into Object.prototype, causing denial of service or potential remote code execution.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"sveltekit-superforms makes SvelteKit forms a pleasure to use. sveltekit-superforms v2.27.3 and prior are susceptible to a prototype pollution vulnerability within the parseFormData function of formData.js. An attacker can inject string and array properties into Object.prototype, leading to denial of service, type confusion, and potential remote code execution in downstream applications that rely on polluted objects. This vulnerability is fixed in 2.27.4.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"sveltekit-superforms Prototype Pollution in `parseFormData` function of `formData.js`","id":"CVE-2025-62381","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Frigate Vulnerable to Arbitrary File Read via Export Thumbnail \"image_path\" parameter","id":"CVE-2025-62382"},"packages":[{"ecosystem":"npm","fixed":["2.27.4"],"introduced":["0"],"last_affected":[],"package":"sveltekit-superforms","purl":null,"source":"GHSA-hwmc-4c8j-xxj7"},{"ecosystem":"npm","fixed":["2.27.4"],"introduced":["0"],"last_affected":[],"package":"sveltekit-superforms","purl":"pkg:npm/sveltekit-superforms","source":"GHSA-hwmc-4c8j-xxj7"}],"prev":{"headline":"Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails","id":"CVE-2025-62380"},"products":["sveltekit-superforms"],"published":"2025-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["ciscoheat"]},"summary":"Prototype pollution in sveltekit-superforms allows attackers to inject properties into Object.prototype, causing denial of service or potential remote code execution.","url":"https://insights.sbomify.com/CVE-2025-62381/"}