{"id":"CVE-2026-40299","revision":"0f218d878c74437ca237a31e6cb07c09","records":[{"revision":"0f218d878c74437ca237a31e6cb07c09","observedAt":"2026-10-25T09:17:24.328+00:00","statement":{"source":"nvd","id":"CVE-2026-40299","aliases":[],"title":"next-intl provides internationalization for Next.js. Applications using the `next-intl` middleware prior to version 4.9.1with `localePrefix: 'as-needed'` could construct URLs where path handling and the WHATWG URL parser resolved a relative…","description":"next-intl provides internationalization for Next.js. Applications using the `next-intl` middleware prior to version 4.9.1with `localePrefix: 'as-needed'` could construct URLs where path handling and the WHATWG URL parser resolved a relative redirect target to another host (e.g. scheme-relative `//` or control characters stripped by the URL parser), so the middleware could redirect the browser off-site while the user still started from a trusted app URL. The problem has been patchedin `next-intl@4.9.1`.","state":0,"publishedAt":"2026-04-17T21:16:34.707+00:00","modifiedAt":"2026-06-17T10:44:57.83+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6","https://github.com/amannn/next-intl/pull/2304","https://github.com/amannn/next-intl/releases/tag/v4.9.1","https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40299","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-601"],"productCriteria":[],"sourceDates":{"published":"2026-04-17T21:16:34.707","lastModified":"2026-06-17T10:44:57.830"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-40299","identifiers":["CVE-2026-40299"]},"retained":false,"historicalAffected":[]}],"coverage":[]}