Vulnerability library
Security checkOctober 23, 2026

SvelteKit: URL redirection to untrusted site via enhanced form submission

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpm@sveltejs/kit

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Applications 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.

Recommendation

Update the @sveltejs/kit package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.0.0
  • Patched version(s): 3.0.0

References

Could your website be exposed too?

SmartScanner can check your website for SvelteKit: URL redirection to untrusted site via enhanced form submission and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 23, 2026