{"id":"CVE-2026-114060","aliases":["CVE-2026-114060","GHSA-pfhg-q3qv-9q6r"],"related":[],"kind":"vulnerability","state":"published","title":"SvelteKit before 3.0.0 Open Redirect via Enhanced Form Actions","summary":"SvelteKit (@sveltejs/kit) before 3.0.0 contains an open redirect vulnerability in enhanced form actions (use:enhance) on routes accepting paths beginning with a double slash. Attackers can craft action paths starting with // that become protocol-relative URLs, causing non-redirect form results to navigate victims to attacker-controlled sites.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SvelteKit (@sveltejs/kit) before 3.0.0 contains an open redirect vulnerability in enhanced form actions (use:enhance) on routes accepting paths beginning with a double slash. Attackers can craft action paths starting with // that become protocol-relative URLs, causing non-redirect form results to navigate victims to attacker-controlled sites.","source":"cvelist"},{"lang":"en","text":"### Impact\nApplications using enhanced form actions (`use:enhance`) on routes that accept paths beginning with `//`, such as catch-all routes, may be vulnerable to an open redirect.\n\n### Patches\nA fix has been prepared for `@sveltejs/kit` 3.0.0. Users should upgrade to 3.0.0 or later.\n\nThe fix preserves leading double slashes in action paths without generating protocol-relative URLs, restricts non-redirect action navigation to the current origin, and includes the origin when comparing action locations with the current page.\n\n### Workarounds\nReject requests whose parsed URL pathname begins with `//` before route resolution, for example in a reverse proxy or a SvelteKit `handle` hook.\n\nAlternatively, disable navigation for non-redirect enhanced form results by supplying a custom submission callback:\n\n```svelte\n<form method=\"POST\" use:enhance={() => ({ update }) => update({ navigate: false })}>\n  <!-- form fields -->\n</form>\n```\n\nThis applies non-redirect results to the current page instead of navigating to the action location.","format":"markdown","source":"ghsa"}],"published":"2026-10-21T00:36:34.741Z","modified":"2026-10-23T21:15:03.741Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"LOW"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.0.0","status":"affected"},{"type":"semver","version":"3.0.0","status":"unaffected"}],"vendor":"sveltejs","product":"kit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"npm","package":"@sveltejs/kit","purl":"pkg:npm/%40sveltejs/kit","source":"ghsa"}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-pfhg-q3qv-9q6r","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-open-redirect-via-enhanced-form-actions","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114060","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit/commit/91aae3547c6cd2935d79c09a53e27c740100000a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/kit/releases/tag/@sveltejs/kit@3.0.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-21T14:24:55.358Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-114060","url":"https://www.cve.org/CVERecord?id=CVE-2026-114060","licence":"CVE Terms of Use","modified":"2026-10-21T15:50:38.726Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pfhg-q3qv-9q6r","url":"https://github.com/advisories/GHSA-pfhg-q3qv-9q6r","licence":"CC-BY-4.0","modified":"2026-10-23T21:15:03.741Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-114060","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114060","licence":"Public domain","modified":"2026-10-22T17:39:56.760Z"}],"updatedAt":"2026-11-25T22:59:46.530Z","epss":{"score":0.00202,"percentile":0.10647,"date":"2026-12-01T12:00:22.000Z"}}