CVE-2026-118258

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

Published Oct 28, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

i18next-http-backend allows translation resources to be loaded by a backend in Node.js, browsers, and Deno. Prior to v4.0.4, the interpolation logic inserts language (lng) and namespace (ns) values directly into loadPath or addPath templates without rejecting ampersand (&), equals (=), or semicolon (;) query separators. Because these values are reflected in the query string, an attacker that controls lng or ns can append or override additional query parameters in translation requests. This can expose data from other namespaces, reveal multi‑tenant information, or modify backend behavior in the context of the application's network permissions. The flaw is a form of query‑parameter injection.

Affected Systems

Vendors: i18next. Product: i18next-http-backend. Versions affected: any release before 4.0.4. The issue applies to environments that use the backend for translation loading in Node.js, browsers, or Deno.

Risk and Exploitability

CVSS scoring indicates a low severity (3.7). EPSS score is 0.28% (< 1%), and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker must supply attacker‑controlled lng or ns values to exploit the flaw. While the exploit requires application‑level knowledge of translation requests, the reflected parameter injection is straightforward and can be achieved by appending & or = characters to language or namespace strings. The potential impact of leaking sensitive translation data or manipulating backend requests makes the risk moderate despite the low CVSS figure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade i18next-http-backend to version 4.0.4 or newer.
  • If upgrade is delayed, sanitize lng and ns values so that & = ; characters are removed or encoded before they reach the backend.
  • Review and restrict any translation requests that originate from untrusted user input, ensuring only whitelisted values are used for language and namespace.

Generated by OpenCVE AI on October 30, 2026 at 02:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3cmx-xjww-583x i18next-http-backend: Query-parameter injection through & and = in lng when loadPath/addPath puts {{lng}} in the query string
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared I18next
I18next i18next-http-backend
Vendors & Products I18next
I18next i18next-http-backend
Type Values Removed Values Added
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.
Title i18next-http-backend: Query-parameter injection through & and = in lng when loadPath/addPath puts {{lng}} in the query string
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-140

    Improper Neutralization of Delimiters

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2026, 1:15 PM
Reserved
Oct 27, 2026, 8:13 PM
Status
Deferred
Published
Oct 28, 2026, 7:17 PM
Modified
Nov 3, 2026, 2:17 PM
Severity
Low
Public date
Oct 28, 2026, 6:33 PM