# CVE-2026-41691: i18next-http-backend has Path Traversal & URL Injection via Unsanitised lng/ns

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 24% of CVEs (2026-11-30)
- Published: 2026-04-22T17:41:24.000Z
- Modified: 2026-10-26T20:10:00.160Z
- Also known as: GHSA-q89c-q3h5-w34g
- Weaknesses: CWE-22, CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Copilot said: i18nextify is a JavaScript library that adds
i18nextify is a JavaScript library that adds website internationalization via a script tag, without source code changes. Versions prior to 3.0.5 interpolate the lng and ns values directly into the configured loadPath / addPath URL template without any encoding, validation, or path sanitisation. When an application exposes the language-code selection to user-controlled input (the default — i18next-browser-languagedetector reads ?lng= query params, cookies, localStorage, and request headers), an attacker can inject characters that change the structure of the outgoing request URL. This is a single URL-injection vulnerability. The attacker-controlled value is neutralised before it is used as part of an output URL string; the attack shape covers both path traversal and broader URL-structure injection — both are closed by the one interpolateUrl sanitisation fix. This issue has been fixed in version 3.0.5. If users cannot upgrade immediately, they can work around the issue by sanitising lng / ns before they reach i18next (strip .., /, \, ?, #, %, whitespace, and control characters; cap the length).

(As written by CVE List.)

## Affected

- i18next i18next-http-backend: < 3.0.5; before 3.0.5
- i18next-http-backend (npm): before 3.0.5

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/i18next/i18next-http-backend/security/advisories/GHSA-q89c-q3h5-w34g> (mitigation, vendor-advisory, web)
- <https://github.com/i18next/i18next-http-backend/commit/4cee84f229c637b9c182366d3156f726d407a621> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41691> (advisory)
- <https://github.com/i18next/i18next-http-backend> (package)

## Sources

- CVE List: [CVE-2026-41691](https://www.cve.org/CVERecord?id=CVE-2026-41691), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-q89c-q3h5-w34g](https://github.com/advisories/GHSA-q89c-q3h5-w34g), CC-BY-4.0, modified 2026-05-11
- NVD: [CVE-2026-41691](https://nvd.nist.gov/vuln/detail/CVE-2026-41691), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41691 · Whole record: https://cve.day/CVE-2026-41691.json · Rebuilt by cve.day 2026-11-25T22:59:20.924Z
