{"id":"CVE-2026-41885","published":"2026-05-08T15:41:14Z","modified":"2026-05-08T16:06:11Z","title":"Path traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backend","vendor":"locize","product":"i18next-locize-backend","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00224,"percentile":0.13253,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.65},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"locize","affectedVersions":[{"vendor":"locize","product":"i18next-locize-backend","versions":["< 9.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T16:06:00.435386Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"i18next-locize-backend","vulnerableRanges":["<9.0.2"],"patched":["9.0.2"],"from":["GHSA-mgcp-mfp8-3q45"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-28795","exploited":false,"provenance":"source"}}