CVE-2025-30218

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-30218
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30218.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-30218
Aliases
Published
2025-04-02T21:23:14.660Z
Modified
2025-12-05T08:54:22.422563Z
Severity
  • 1.7 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
Next.js may leak x-middleware-subrequest-id to external hosts
Details

Next.js is a React framework for building full-stack web applications. To mitigate CVE-2025-29927, Next.js validated the x-middleware-subrequest-id which persisted across multiple incoming requests. However, this subrequest ID is sent to all requests, even if the destination is not the same host as the Next.js application. Initiating a fetch request to a third-party within Middleware will send the x-middleware-subrequest-id to that third party. This vulnerability is fixed in 12.3.6, 13.5.10, 14.2.26, and 15.2.4.

Database specific
{
    "cwe_ids": [
        "CWE-200"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30218.json"
}
References

Affected packages

Git /

Affected ranges