SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static
If an attacker could influence a link that was crawled during the prerender phase, that link could later be interpreted as a regex in the Vercel routing configuration.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @sveltejs/adapter-static | >= 4.0.0-next.0, < 4.0.1, < 3.0.11 | 4.0.1, 3.0.11 |
| npm package | @sveltejs/adapter-vercel | < 6.3.5, >= 7.0.0-next.0, < 7.0.2 | 6.3.5, 7.0.2 |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-jf9x-2fg2-hx4w
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/2ed61a6aa3ac230b89e3528654c587847d1525a0
- https://github.com/sveltejs/kit
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@3.0.11
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-static@4.0.1
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@6.3.5
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/adapter-vercel@7.0.2
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-116, CWE-625- Platform
- npm
- Package
@sveltejs/adapter-static, @sveltejs/adapter-vercel- Disclosed
- 13.11.2026
- Updated
- 13.11.2026 22:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-jf9x-2fg2-hx4w - CC BY 4.0
Vulnerability history: @sveltejs/adapter-vercel
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 02.2026 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2026: 2
-
SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-static this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.