Improper Encoding or Escaping of Output Affecting @sveltejs/adapter-vercel package, versions <6.3.5>=7.0.0-next.0 <7.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SVELTEJSADAPTERVERCEL-23050791
  • published30 Nov 2026
  • disclosed13 Nov 2026
  • creditUnknown

Introduced: 13 Nov 2026

NewCVE-2026-128121  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade @sveltejs/adapter-vercel to version 6.3.5, 7.0.2 or higher.

Overview

@sveltejs/adapter-vercel is an A SvelteKit adapter that creates a Vercel app

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the Vercel route configuration generator in packages/adapter-vercel/index.js, where attacker-influenced links crawled during the prerender phase are emitted into the generated Vercel routing configuration without escaping regular-expression metacharacters. The resulting configuration interprets the injected path as regex syntax, causing it to match unintended application paths and expose content or behavior outside the intended path. An attacker who can influence a link that is crawled during prerendering can trigger this condition.

CVSS Base Scores

version 4.0
version 3.1