## i18next-http-backend: Query-parameter injection through & and = in lng when loadPath/addPath puts {{lng}} in the query string

- 種別: advisory
- 重大度: low
- 関連技術: nodejs
- CVE: CVE-2026-118258
- 公開日時: 2026-10-28T21:10:08.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-3cmx-xjww-583x)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-3cmx-xjww-583x

影響: npm:i18next-http-backend < 4.0.4 → 4.0.4
The URL-segment check added for GHSA-q89c-q3h5-w34g blocks ?, #, %, :, / and @ in lng, but not & or =, and the checked value is inserted into the URL without encoding. The README documents a multiload loadPath of the form /locales/resources.json?lng=de+en&ns=ns1+ns2. With a template like that, an attacker who controls the language value can add or override query parameters on the request the backend sends. By default the language comes from ?lng=, a cookie or Accept-Language. This is the "query…