Skip to content

Commit aff88db

Browse files
1 parent 3f3b31e commit aff88db

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-8f24-v5vv-gm5j",
4+
"modified": "2026-04-10T21:03:55Z",
5+
"published": "2026-04-10T21:03:55Z",
6+
"aliases": [],
7+
"summary": "next-intl has an open redirect vulnerability",
8+
"details": "### Impact\n\nApplications using the `next-intl` middleware with `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.\n\n### Patches\n\nThe problem has been patched, please update to [`next-intl@4.9.1`](https://github.com/amannn/next-intl/releases/tag/v4.9.1).\n\n### Credits\n\nMany thanks to [Joni Liljeblad](https://github.com/joniumGit) from [Oura](https://ouraring.com) for responsibly disclosing the vulnerability and for suggesting the fix.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V4",
12+
"score": "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"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "npm",
19+
"name": "next-intl"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "0"
27+
},
28+
{
29+
"fixed": "4.9.1"
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"references": [
37+
{
38+
"type": "WEB",
39+
"url": "https://github.com/amannn/next-intl/security/advisories/GHSA-8f24-v5vv-gm5j"
40+
},
41+
{
42+
"type": "WEB",
43+
"url": "https://github.com/amannn/next-intl/pull/2304"
44+
},
45+
{
46+
"type": "WEB",
47+
"url": "https://github.com/amannn/next-intl/commit/1c80b668aa6d853f470319eec10a3f61e78a70e6"
48+
},
49+
{
50+
"type": "PACKAGE",
51+
"url": "https://github.com/amannn/next-intl"
52+
},
53+
{
54+
"type": "WEB",
55+
"url": "https://github.com/amannn/next-intl/releases/tag/v4.9.1"
56+
}
57+
],
58+
"database_specific": {
59+
"cwe_ids": [
60+
"CWE-601"
61+
],
62+
"severity": "MODERATE",
63+
"github_reviewed": true,
64+
"github_reviewed_at": "2026-04-10T21:03:55Z",
65+
"nvd_published_at": null
66+
}
67+
}

0 commit comments

Comments
 (0)