Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-118258 EUVD-2026-112360GHSA-3cmx-xjww-583x

i18next-http-backend: Query-parameter injection through & and = in lng when loadPath/addPath puts {{lng}} in the query string

Published Oct 28, 2026 · Updated Nov 3, 2026 · Assigned by GitHub_M

Description

i18next-http-backend is a backend layer for i18next that loads translation resources in Node.js, browsers, and Deno. Prior to 4.0.4, interpolateUrl inserts unencoded language and namespace values into loadPath or addPath templates without rejecting ampersand (&), equals (=), or semicolon (;) query separators. When a template places lng or ns in the query string and an attacker controls that value, the attacker can add or override parameters on browser or server-side translation requests, potentially exposing other namespaces or tenants or changing backend behavior through the application's network position and credentials. This vulnerability is the result of an incomplete fix for CVE-2026-41691. This issue is fixed in version 4.0.4.

Affected products

VendorProductAffectedFixed
i18next i18next-http-backend < 4.0.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-i18next-http-backend No fix yet —
Ubuntu 26.04 LTS node-i18next-http-backend No fix yet —
Ubuntu 24.04 LTS node-i18next-http-backend No fix yet —
Ubuntu 22.04 LTS node-i18next-http-backend No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm i18next-http-backend < 4.0.4 4.0.4 GHSA-3cmx-xjww-583x

References