Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105800 Overview
CVE-2026-105800 affects i18next-http-backend, a backend layer for the i18next internationalization framework that loads translation resources in Node.js, browsers, and Deno. Versions prior to 4.0.2 allow attacker-controlled language (lng) or namespace (ns) values to break out of the intended URL structure when interpolated into custom loadPath or addPath templates that begin directly with {{lng}} or {{ns}}. A colon character can turn the value into an absolute URL, and in browsers a leading // in a namespace can produce a protocol-relative URL. The flaw is classified under [CWE-74] (Improper Neutralization of Special Elements in Output Used by a Downstream Component).
Critical Impact
Attacker-controlled translation input can redirect loader requests to arbitrary origins, enabling URL injection and server-side request forgery (SSRF) in applications using vulnerable path templates.
Affected Products
- i18next-http-backend versions prior to 4.0.2
- Node.js applications using custom loadPath or addPath beginning with {{lng}} or {{ns}}
- Browser and Deno runtimes consuming the same vulnerable path templates
Discovery Timeline
- 2026-10-06 - CVE-2026-105800 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-105800
Vulnerability Analysis
The backend interpolates runtime values into URL path templates without validating that the resulting string retains the intended origin. When a template begins with {{lng}} or {{ns}}, the placeholder occupies the structural start of the URL. A value such as https: or //evil.example therefore changes the URL's scheme or authority during resolution rather than becoming a path segment.
The default template /locales/{{lng}}/{{ns}}.json is not vulnerable because the leading / anchors the request to the application origin. Only custom templates that place the placeholder first expose the issue. Exploitation requires an application that forwards untrusted input into language or namespace parameters, which raises attack complexity.
Root Cause
The segment validator in lib/utils.js and the bundled i18nextHttpBackend.js rejected directory traversal and whitespace characters but did not reject the scheme delimiter : or namespace values containing //. Without these checks, a value interpolated at the start of a URL template could redefine the request's scheme or authority.
Attack Vector
An attacker supplies a crafted language or namespace value that is passed to the backend. If the configured loadPath begins with the placeholder, the resolved URL points to an attacker-controlled host. In server-side rendering contexts this yields SSRF against internal services. In browsers it causes translation requests, including any attached credentials, to be issued to an untrusted origin.
// Security patch in i18nextHttpBackend.js
// Adds `:` to the character class rejected during segment validation.
if (UNSAFE_KEYS$1.indexOf(v) > -1) return false;
if (v.indexOf("..") > -1) return false;
if (v.indexOf("\\") > -1) return false;
- if (/[?#%\s]/.test(v)) return false;
+ if (/[?#%:\s]/.test(v)) return false;
if (/[\\x00-\\x1F\\x7F]/.test(v)) return false;
return true;
}
// Source: https://github.com/i18next/i18next-http-backend/commit/07e028862b25d0b9251bf3cafb92be2d35285f85
Detection Methods for CVE-2026-105800
Indicators of Compromise
- Outbound HTTP requests from application servers to unexpected domains originating from the i18next loader
- Translation resource requests whose URL authority differs from the application's own origin
- Log entries showing lng or ns parameter values containing :, //, or URL-encoded equivalents
Detection Strategies
- Audit source code for loadPath or addPath configurations that begin with {{lng}} or {{ns}} without a leading / or absolute origin
- Inspect dependency manifests (package.json, package-lock.json) for i18next-http-backend versions below 4.0.2
- Add egress monitoring rules to flag connections to non-approved destinations from processes using the library
Monitoring Recommendations
- Alert on web application firewall (WAF) events where language or namespace parameters contain scheme delimiters or double slashes
- Capture outbound DNS resolutions from server-side rendering workers and compare against an allowlist of translation CDNs
- Correlate anomalous outbound requests with user-supplied localization input to identify exploitation attempts
How to Mitigate CVE-2026-105800
Immediate Actions Required
- Upgrade i18next-http-backend to version 4.0.2 or later across all Node.js, browser, and Deno deployments
- Review loadPath and addPath templates and prepend a static path or origin so placeholders never occupy the URL's structural beginning
- Validate and allowlist any lng or ns values derived from user input before passing them to the backend
Patch Information
The fix is published in GitHub Release Version 4.0.2. The patch, available in commit 07e02886, rejects : in language and namespace values and // in namespace values. Additional context is provided in the GitHub Security Advisory GHSA-xvq9-wjp8-hwqf.
Workarounds
- Change custom path templates to the default form /locales/{{lng}}/{{ns}}.json or any template with a leading / or absolute origin
- Implement strict input validation that rejects characters :, /, \, ?, #, %, and whitespace in language and namespace parameters
- Restrict outbound HTTP access from server-side rendering environments to an allowlist of translation hosts
# Upgrade the vulnerable dependency
npm install i18next-http-backend@^4.0.2
# Verify the installed version
npm ls i18next-http-backend
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

