Path traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backend
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
i18next-locize-backend is a simple i18next backend for locize.com which can be used in Node.js, in the browser and for Deno. Prior to version 9.0.2, i18next-locize-backend interpolates lng, ns, projectId, and version directly into the configured loadPath / privatePath / addPath / updatePath / getLanguagesPath URL templates with no path-component validation and no encoding. When an application exposes any of these values to user-controlled input (?lng= / ?ns= query parameters via i18next-browser-languagedetector, cookies, request headers, or a URL-derived projectId), a crafted value can change the structure of the outgoing request URL. Affected call sites in lib/index.js (pre-patch): the interpolate() helper is used at the five URL-build sites — _readAny/read (line 415 for private, 426 for public), getLanguages (lines 271 and 296), and writePage (lines 616 and 622) for the missing-key and update POST paths. The helper interpolate in lib/utils.js substitutes raw values with no encoding. This issue has been patched in version 9.0.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| locize | i18next-locize-backend | before 9.0.2 | 9.0.2 | Patch available | CNA |
| — | i18next-locize-backend (npm) | before 9.0.2 | 9.0.2 | Patch available | GHSA-mgcp-mfp8-3q45 |
- i18next-locize-backend Vendorlocize Affected before 9.0.2 Fixed in 9.0.2 Patch available CNA
- i18next-locize-backend (npm) Vendor— Affected before 9.0.2 Fixed in 9.0.2 Patch available GHSA-mgcp-mfp8-3q45
Remediation
- Fix · CNA i18next-locize-backend (locize) Fixed in 9.0.2
- Fix · GHSA-mgcp-mfp8-3q45 i18next-locize-backend (npm) Fixed in 9.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41885
- 2026-10-03 Alias added: GHSA-mgcp-mfp8-3q45
References
Other 4
- https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45
- https://github.com/locize/i18next-locize-backend/commit/8f81ad4707aa0e90647fde4da5fbe5b23153c6e1
- https://github.com/locize/i18next-locize-backend
- https://github.com/locize/i18next-locize-backend/releases/tag/v9.0.2
More locize vulnerabilities
- TI-2026-40016 gettext-converter: Prototype pollution in js2i18next() via crafted translation keys CVSS 4.0HIGH 8.3
- TI-2026-30289 locize Client SDK: Cross-origin DOM XSS & Handler Hijack Through Missing e.origin Validation in InContext Editor CVSS 3.1HIGH 7.5
Sources
- CVE-2026-41885 · CVE Program
- CVE-2026-41885 · NVD
- FIRST EPSS
- GHSA-mgcp-mfp8-3q45 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences