{"id":"CVE-2026-40299","revision":"57fc7510af6c4566866e85d4db5fe0f4","records":[{"revision":"57fc7510af6c4566866e85d4db5fe0f4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-40299","aliases":[],"title":"next-intl has an open redirect vulnerability","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-17T20:49:05.642+00:00","modifiedAt":"2026-04-20T15:58:51.149+00:00","affected":[{"ecosystem":"Vendor product","name":"next-intl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"amannn\",\n                    \"product\": \"next-intl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.9.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j","https://github.com/amannn/next-intl/pull/2304","https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6","https://github.com/amannn/next-intl/releases/tag/v4.9.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-40299","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-40299","identifiers":["CVE-2026-40299"]},"retained":false,"historicalAffected":[]}],"coverage":[]}