CVE-2026-41885
MEDIUM 6.5CVSS 3.1i18next-locize-backend has URL Injection via Unsanitized Path Parameters
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.
- Published
- 8 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-74
- Also known as
- GHSA-mgcp-mfp8-3q45
- Sources
- NVDJSONOSV GHSA-mgcp-mfp8-3q45JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | i18next-locize-backend | < 9.0.2 | 9.0.2 |
References
- https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41885 · ADVISORY
- https://github.com/locize/i18next-locize-backend/commit/8f81ad4707aa0e90647fde4da5fbe5b23153c6e1 · WEB
- https://github.com/locize/i18next-locize-backend · PACKAGE
- https://github.com/locize/i18next-locize-backend/releases/tag/v9.0.2 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2026)