CVE-2026-115730
Low · 3.1CVSS
3.1
EPSS
0.3%
Published
Oct 23, 2026
CISA due date
—
Cloudanix analysis
A flaw in a translation library lets attackers trick the application into loading text or scripts from a malicious website instead of the intended source, potentially altering what users see or do.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Library
- Class
- Open Redirect
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Incomplete sanitization in interpolateUrl() permits an ns parameter beginning with a slash to produce protocol-relative URLs inside loadPath or addPath templates, causing the library to fetch translation resources from an attacker-controlled origin and return attacker-supplied strings for UI rendering.
Why it matters to the business
Attackers can alter displayed text or inject executable scripts into the application interface, enabling phishing, credential theft, or unauthorized actions performed by users who trust the application's content.
How an attack unfolds
An attacker who can influence the namespace value supplied to i18next sends a request containing an ns parameter that begins with a slash. The library concatenates this value into a protocol-relative URL within the configured loadPath or addPath template, causing the browser to retrieve translation data from the attacker's host. The attacker returns a malicious translation file containing script payloads that are rendered directly into the DOM, achieving content injection or cross-site scripting.
How to fix it
Upgrade i18next-http-backend to a version that fully validates and rejects namespace values beginning with a slash or other scheme indicators before interpolation. If an upgrade is unavailable, implement server-side or client-side validation that strips or blocks leading slashes and protocol-relative prefixes from all namespace inputs before they reach the library.
How to confirm the fix worked
Review the interpolateUrl implementation to confirm that namespace values are normalized to remove leading slashes and are rejected when they would form protocol-relative or absolute URLs. Test by supplying ns values such as /evil and verifying that the resulting load URL remains within the expected origin.
Typical attack path
- Identify an endpoint that accepts a controllable ns parameter and triggers translation loading
- Craft an ns value that begins with a forward slash and produces a protocol-relative URL when interpolated
- Force the client to load the translation resource from an attacker-controlled domain
- Return a translation payload containing executable script or malicious markup
- Achieve UI content injection or cross-site scripting when the translation is rendered
How to detect it
Inspect web server or application logs for translation requests containing an ns parameter that starts with a forward slash. Correlate such requests with subsequent outbound fetches to unexpected domains or responses containing script tags or unusual markup in translation payloads.
- ns=/
- loadPath containing //
- addPath containing //
What your security team should do
- Prioritize upgrade of i18next-http-backend once a corrected release is published
- Add input validation rules that sanitize or reject ns parameters containing leading slashes or URL scheme indicators
- Monitor translation load requests for ns values that begin with a slash or produce external origins
- Review applications that expose namespace selection to untrusted users and restrict the set of allowed values
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119619 A vulnerability was found in 37954679 cak-filemanagement-system up to… CWE-74
- CVE-2026-91915 Dell OpenManage Enterprise, versions prior to 4.8.0, contains an Improper Neutralization… CWE-74
- CVE-2026-89435 The Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &… CWE-74
- CVE-2026-54453 OpenCATS is an open-source applicant tracking system and recruitment CRM for staffing… CWE-74
- CVE-2026-118258 i18next-http-backend is a backend layer for i18next that loads translation resources in… CWE-74
- CVE-2026-103405 An Improper Neutralization of Special Elements in Output Used by a Downstream Component… CWE-74
- CVE-2026-103400 An Improper Neutralization of Special Elements in Output Used by a Downstream Component… CWE-74
- CVE-2026-106648 The Royal Elementor Addons WordPress plugin before 1.7.1070 does not validate submitted… CWE-74