CVE-2026-40299

MEDIUM

next-intl <4.9.1 Middleware - Open Redirect

Title source: manual
STIX 2.1

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 `[email protected]`.

Scores

CVSS v4 6.9
EPSS 0.0034
EPSS Percentile 25.5%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-601
Status published
Products (2)
amannn/next-intl < 4.9.1
npm/next-intl 0 - 4.9.1npm
Published Apr 17, 2026
Tracked Since Apr 18, 2026