{"answers":{"affected":"2 open source packages ship an affected version, including i18next-http-backend. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41691 in the wild and no public exploit code.","fix":"Upgrade i18next-http-backend to 3.0.5 or later.","what":"CVE-2026-41691 is a medium-severity path traversal vulnerability in i18next-http-backend, published on 7 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41691 and fix it if it is affected.\n\nWhat it is: CVE-2026-41691 is a medium-severity path traversal vulnerability in i18next-http-backend, published on 7 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41691 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- i18next-http-backend (npm): affected all versions; fixed in 3.0.5\n- i18next-http-backend (npm): affected all versions; fixed in 3.0.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41691/ (Markdown: https://insights.sbomify.com/CVE-2026-41691/index.md)","id":"CVE-2026-41691","markdown":"https://insights.sbomify.com/CVE-2026-41691/index.md","name":"CVE-2026-41691","record":{"aliases":["DEBIAN-CVE-2026-41691","GHSA-q89c-q3h5-w34g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript i18n library","requires_auth":"none","summary":"Attackers can inject path traversal or URL structures via unsanitized language/namespace inputs, potentially accessing unauthorized resources or bypassing security controls.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"i18next-http-backend","vendor":"i18next"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Copilot said: i18nextify is a JavaScript library that adds\ni18nextify 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).","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"i18next-http-backend has Path Traversal \u0026 URL Injection via Unsanitised lng/ns","id":"CVE-2026-41691","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes","id":"CVE-2026-41692"},"packages":[{"ecosystem":"npm","fixed":["3.0.5"],"introduced":["0"],"last_affected":[],"package":"i18next-http-backend","purl":null,"source":"GHSA-q89c-q3h5-w34g"},{"ecosystem":"npm","fixed":["3.0.5"],"introduced":["0"],"last_affected":[],"package":"i18next-http-backend","purl":"pkg:npm/i18next-http-backend","source":"GHSA-q89c-q3h5-w34g"}],"prev":{"headline":"Prototype pollution and path traversal in i18next-http-middleware via user-controlled language and namespace parameters","id":"CVE-2026-41690"},"products":["i18next-http-backend"],"published":"2026-05-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-08","vendors":["i18next"]},"summary":"Attackers can inject path traversal or URL structures via unsanitized language/namespace inputs, potentially accessing unauthorized resources or bypassing security controls.","url":"https://insights.sbomify.com/CVE-2026-41691/"}