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@4.9.1`.
CVSS

No CVSS.

Configurations

No configuration.

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) next-intl proporciona internacionalización para Next.js. Las aplicaciones que utilizan el middleware “next-intl” antes de la versión 4.9.1 con “localePrefix: ’as-needed’” podrían construir URLs donde el manejo de rutas y el analizador de URLs WHATWG resolvían un objetivo de redirección relativo a otro host (por ejemplo, “//” relativo al esquema o caracteres de control eliminados por el analizador de URLs), por lo que el middleware podría redirigir el navegador fuera del sitio mientras el usuario aún partía de una URL de aplicación de confianza. El problema ha sido parcheado en “next-intl@4.9.1”.

17 Apr 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-17 21:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-40299

Mitre link : CVE-2026-40299

CVE.ORG link : CVE-2026-40299


JSON object : View

Products Affected

No product.

CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')