{"id":"CVE-2026-40299","published":"2026-04-17T20:49:05Z","modified":"2026-04-20T15:58:51Z","title":"next-intl has an open redirect vulnerability","vendor":"amannn","product":"next-intl","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00323,"percentile":0.25941,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/amannn/next-intl/pull/2304","tags":["x_refsource_MISC"]},{"url":"https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6","tags":["x_refsource_MISC"]},{"url":"https://github.com/amannn/next-intl/releases/tag/v4.9.1","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.19},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"amannn","affectedVersions":[{"vendor":"amannn","product":"next-intl","versions":["< 4.9.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-20T15:56:01.407919Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"next-intl","vulnerableRanges":["<4.9.1"],"patched":["4.9.1"],"from":["GHSA-8f24-v5vv-gm5j"],"provenance":"source"}],"summary":{"text":"A flaw in the next-intl middleware (the internationalization library for Next.js, from amannn) lets its redirect handling send users to an external host, because path handling and the WHATWG URL parser can resolve a relative redirect target to another site when the app uses localePrefix 'as-needed'. An attacker can exploit this over the network without authentication or user interaction, provided the application uses that middleware configuration on a version before 4.9.1, and the resulting redirect can take a user who started from a trusted application URL to an off-site location.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:05Z"},"euvd":{"id":"EUVD-2026-23543","exploited":false,"provenance":"source"}}