CVE Explorer
CVE-2026-40299
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@
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"next-intl","vendor":"amannn","versions":[{"status":"affected","version":"< 4.9.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-601","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6","tags":["x_refsource_MISC"],"url":"https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/references/2
{"name":"https://github.com/amannn/next-intl/pull/2304","tags":["x_refsource_MISC"],"url":"https://github.com/amannn/next-intl/pull/2304"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/references/1
{"name":"https://github.com/amannn/next-intl/releases/tag/v4.9.1","tags":["x_refsource_MISC"],"url":"https://github.com/amannn/next-intl/releases/tag/v4.9.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/references/3
{"name":"https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e36466ba1a0aec1dbb5145acaa233a5bdd36c3ae4485f8fcf8ed654ad18c3fd1 · sha256:1de300a41b5a525f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.