GHSA-5wg4-q3ww-283h

Suggest an improvement
Source
https://github.com/advisories/GHSA-5wg4-q3ww-283h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-5wg4-q3ww-283h/GHSA-5wg4-q3ww-283h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5wg4-q3ww-283h
Aliases
Published
2026-11-13T20:39:15Z
Modified
2026-11-13T20:45:03Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`
Details

If an attacker can influence the links crawled during prerendering, they can influence the redirects entries that are added to the Cloudflare platform redirects generated during the adapt phase of the build.

Database specific
{
    "cwe_ids": [
        "CWE-116",
        "CWE-79",
        "CWE-93"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-13T20:39:15Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / @sveltejs/adapter-cloudflare

Package

Name
@sveltejs/adapter-cloudflare
View open source insights on deps.dev
Purl
pkg:npm/%40sveltejs/adapter-cloudflare

Affected ranges

Type
SEMVER
Events
Introduced
4.7.0
Fixed
7.2.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-5wg4-q3ww-283h/GHSA-5wg4-q3ww-283h.json"

npm / @sveltejs/adapter-cloudflare

Package

Name
@sveltejs/adapter-cloudflare
View open source insights on deps.dev
Purl
pkg:npm/%40sveltejs/adapter-cloudflare

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0-next.0
Fixed
8.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-5wg4-q3ww-283h/GHSA-5wg4-q3ww-283h.json"