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.
Severity (CVSS)
| Base score | 2.3 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-74 — Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| i18next | i18next-http-backend | 4.0.2 to <4.0.3 [affected] |
References
- https://github.com/i18next/i18next-http-backend/security/advisories/GHSA-9jhj-wvmw-cfx5 (vendor-advisory)
- https://github.com/i18next/i18next-http-backend/commit/042c3d4e4e9d73b2ae3aa76b22cb45d48f1e35b7 (patch)
- https://github.com/i18next/i18next-http-backend/security/advisories/GHSA-xvq9-wjp8-hwqf (related vendor-advisory)
- https://www.vulncheck.com/advisories/i18next-http-backend-4.0.2-protocol-relative-url-injection-via-namespace-in-interpolateurl (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 24 Oct 2026 07:01 UTC.