{"id":"CVE-2026-41885","summary":"Path traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backend","details":"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.","aliases":["GHSA-mgcp-mfp8-3q45"],"modified":"2026-07-15T01:49:22.288052919Z","published":"2026-05-08T15:41:14.065Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41885.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-74"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41885.json"},{"type":"ADVISORY","url":"https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41885"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/locize/i18next-locize-backend","events":[{"introduced":"0"},{"fixed":"d21aab9d2202e813dd6087ddb46ad92d1631ca21"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"9.0.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v9.0.1","v9.0.0","v8.1.2","v8.1.1","v8.1.0","v8.0.0","v7.2.1","v7.2.0","v7.1.1","v7.1.0","v7.0.4","v7.0.3","v7.0.2","v6.5.2","v7.0.1","v7.0.0","v6.6.0","v6.5.1","v6.5.0","v6.4.3","v6.4.2","v6.4.1","v6.4.0","v6.3.1","v6.3.0","v6.2.3","v6.2.2","v6.2.1","v6.2.0","v6.1.1","v6.1.0","v6.0.1","v6.0.0","v5.1.5","v5.1.4","v5.1.3","v5.1.2","v5.1.1","v5.1.0","v5.0.1","v5.0.0","v4.3.0","v4.2.8","v4.2.7","v4.2.6","v4.2.5","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.10","v4.1.9","v4.1.8","v4.1.7","v4.1.6","v4.1.5","v4.1.4","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.0.13","v4.0.12","v4.0.11","v4.0.10","v4.0.9","v4.0.8","v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.2.2","v2.2.1","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.6.0","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.2.0","v0.1.1","v0.1.0","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41885.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}