Description
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.
Published: 2026-10-21
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: Open Redirect
Action: Patch
AI Analysis

Impact

SvelteKit, the framework behind Svelte applications, contains a flaw that allows attackers to craft URLs that trigger an open redirect when users submit a form on routes that accept paths starting with a double slash. The vulnerability resides in the enhanced form action handling, where action paths beginning with // are interpreted as protocol-relative URLs. As a result, a request that should stay within the site can redirect a browser to an attacker-controlled domain, exposing users to phishing and credential-stealing attacks. This flaw is identified as CWE-601.

Affected Systems

All installations of sveltejs/kit older than version 3.0.0 are affected. The problem appears in any project using enhanced form actions on routes that accept leading double slashes. The specific version range is not narrowed beyond the pre-3.0.0 releases, so any user of the older framework should consider their application vulnerable.

Risk and Exploitability

The CVSS score of 2.1 indicates a low severity, and the EPSS score of less than 1% suggests a very low likelihood of exploitation at the time of assessment. The vulnerability is not listed in the CISA KEV catalog, further implying limited reported exploitation. Nonetheless, because the attack can be performed by simply visiting a crafted link, it is worth patching promptly. The vulnerability is attacker-controlled via URL input and requires no authentication or privileged access. Once patched, no further action is necessary beyond verifying the upgrade.

Generated by OpenCVE AI on October 21, 2026 at 15:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to sveltejs/kit version 3.0.0 or later, which addresses the open redirect flaw.
  • If an upgrade cannot occur immediately, implement input validation that rejects or sanitizes form action URLs beginning with double slashes or ensure that enhanced form actions use fully qualified URLs with protocol prefixes.
  • Monitor application logs for unexpected redirect patterns and block traffic to known malicious domains associated with redirection.

Generated by OpenCVE AI on October 21, 2026 at 15:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pfhg-q3qv-9q6r SvelteKit: URL redirection to untrusted site via enhanced form submission
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description 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.
Title SvelteKit before 3.0.0 Open Redirect via Enhanced Form Actions
First Time appeared Svelte
Svelte kit
Weaknesses CWE-601
CPEs cpe:2.3:a:svelte:kit:*:*:*:*:*:*:*:*
Vendors & Products Svelte
Svelte kit
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T15:50:38.726Z

Reserved: 2026-10-20T21:42:27.670Z

Link: CVE-2026-114060

cve-icon Vulnrichment

Updated: 2026-10-21T14:24:56.171Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T01:17:29.147

Modified: 2026-10-22T17:39:56.760

Link: CVE-2026-114060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T12:15:05Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')