SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static

State
Published
Severity
5.9 Medium
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

Description

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1, an attacker-influenced link crawled during prerendering could be emitted into the generated Vercel routing configuration without escaping regular-expression metacharacters. The configuration could consequently interpret the path as regular-expression syntax, match unintended application paths, and expose content or behavior outside the intended path. This issue is fixed in @sveltejs/adapter-vercel 6.3.5 and 7.0.2 and @sveltejs/adapter-static 3.0.11 and 4.0.1.

ProductVersions
kit sveltejs< 2.70.4 Affected>= 3.0.0-next.0, < 3.1.1 Affected
adapter-vercel @sveltejs< 6.3.5 Affected>= 7.0.0-next.0, < 7.0.2 Affected
adapter-static @sveltejs< 3.0.11 Affected>= 4.0.0-next.0, < 4.0.1 Affected

Weaknesses

  • CWE-116 Improper Encoding or Escaping of Output
  • CWE-625 Permissive Regular Expression

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.