Description
i18next-http-backend 4.0.2 contains an incomplete fix in interpolateUrl() that allows attackers to redirect translation requests by supplying an ns value starting with a slash. Attackers controlling the namespace value can form a protocol-relative URL in loadPath or addPath templates to load attacker-hosted translations, enabling UI content injection and cross-site scripting.
Published: 2026-10-23
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting via injected URLs
Action: Patch
AI Analysis

Impact

i18next-http-backend 4.0.2 contains an incomplete fix in the interpolateUrl function that permits attackers to supply a namespace value beginning with a slash. This causes the library to build a protocol‑relative URL in the loadPath or addPath templates, allowing an attacker to point translation requests to malicious servers and inject arbitrary content into the user interface, creating a cross‑site scripting vulnerability.

Affected Systems

The vulnerability affects the i18next-http-backend library from the i18next project, specifically version 4.0.2. No other versions are listed as affected in the CNA data.

Risk and Exploitability

Based on the description, the CVSS base score of 2.3 indicates limited overall impact, but the vulnerability permits attackers to craft protocol-relative URLs. The likely attack vector is remote manipulation of the namespace parameter within translation requests, which may be achieved via crafted URLs or API calls to the target application. After the legitimate translation engine resolves the URL, it will fetch data from an attacker‑controlled server, allowing injection of malicious UI content and potential cross‑site scripting. The absence of an EPSS score means the likelihood of automated exploitation is uncertain, and the vulnerability is not listed in KEV. Applications that expose translation requests to untrusted input are at moderate risk.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade i18next-http-backend to the latest version that contains the full fix for interpolateUrl.
  • Validate namespace values before passing them to the translation module, rejecting those that begin with a slash or that could form protocol‑relative URLs.
  • Configure loadPath and addPath settings to use absolute URLs only and disable any user‑controlled overrides.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9jhj-wvmw-cfx5 i18next-http-backend: Namespace value starting with / forms a protocol-relative URL when loadPath/addPath places {{ns}} right after a / (bypass of the // check added for GHSA-xvq9-wjp8-hwqf)
History

Thu, 29 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
References
Metrics threat_severity

None

threat_severity

Low


Fri, 23 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
Description i18next-http-backend 4.0.2 contains an incomplete fix in interpolateUrl() that allows attackers to redirect translation requests by supplying an ns value starting with a slash. Attackers controlling the namespace value can form a protocol-relative URL in loadPath or addPath templates to load attacker-hosted translations, enabling UI content injection and cross-site scripting.
Title i18next-http-backend 4.0.2 Protocol-Relative URL Injection via Namespace in interpolateUrl
First Time appeared I18next
I18next i18next-http-backend
Weaknesses CWE-74
CPEs cpe:2.3:a:i18next:i18next-http-backend:*:*:*:*:*:*:*:*
Vendors & Products I18next
I18next i18next-http-backend
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

I18next I18next-http-backend
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-29T13:19:15.108Z

Reserved: 2026-10-23T11:40:38.856Z

Link: CVE-2026-115730

cve-icon Vulnrichment

Updated: 2026-10-29T13:19:05.798Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-23T13:17:08.887

Modified: 2026-10-29T14:17:49.390

Link: CVE-2026-115730

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-23T12:55:09Z

Links: CVE-2026-115730 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T02:15:17Z

Weaknesses
  • CWE-74

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

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')