URL Injection Vulnerability in i18next Library by i18next
CVE-2026-41691
What is CVE-2026-41691?
The i18next library, a popular tool for website internationalization, is prone to a URL injection vulnerability in versions before 3.0.5. This vulnerability arises because the library interpolates user-provided language and namespace values directly into its URL templates without proper encoding or validation. Consequently, attackers can manipulate query parameters, cookies, or other inputs to influence the structure of the outgoing request URL. This introduces risks of both path traversal and broader URL structure manipulation. While users are encouraged to upgrade to version 3.0.5, those unable to do so immediately should implement sanitization measures, such as removing potentially harmful characters and limiting input length, to mitigate risks until an upgrade can be performed.
Affected Version(s)
i18next-http-backend < 3.0.5
