Skip to content
OpenAdvisories
High · 8.2 CVE-2026-42353 EUVD-2026-28797GHSA-jfgf-83c5-2c4m

Path traversal / SSRF in i18next-http-middleware via user-controlled language and namespace parameters

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

Description

i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. Prior to version 3.9.3, i18next-http-middleware passes the user-controlled lng and ns values from getResourcesHandler directly into i18next.services.backendConnector.load(languages, namespaces, …) without any sanitization. Depending on which backend is configured, the unvalidated path segments enable either path traversal or SSRF. This issue has been patched in version 3.9.3.

Affected products

VendorProductAffectedFixed
i18next i18next-http-middleware < 3.9.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm i18next-http-middleware < 3.9.3 3.9.3 GHSA-jfgf-83c5-2c4m

References