Loading
fix(deps): update i18next
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| i18next (source) | ^26.0.5 → ^26.0.6 |
||
| i18next-http-backend | ^3.0.4 → ^3.0.5 |
Release Notes
i18next/i18next (i18next)
v26.0.6
Security release — all issues found via an internal audit.
- security: warn when a translation string combines
escapeValue: falsewith interpolated variables inside a$t(key, { ... "{{var}}" ... })nesting-options block. In that narrow combination, attacker-controlled string values containing"can break out of the JSON options literal and inject additional nesting options (e.g. redirectlng/ns). The defaultescapeValue: trueconfiguration is unaffected because HTML-escaping neutralises the quote beforeJSON.parse. See the security note in the Nesting docs for the full pattern and mitigations - security: apply
regexEscapetounescapePrefix/unescapeSuffixon par with the other interpolation delimiters. Prevents ReDoS (catastrophic-backtracking) when a misconfigured delimiter contains regex metacharacters, and fixes silent breakage of the{{- var}}syntax when the delimiter contains characters like(,[,. - security: strip CR/LF/NUL and other C0/C1 control characters from string log arguments to prevent log forging via user-controlled translation keys, language codes, namespaces, or interpolation variable names (CWE-117)
- chore: ignore
.env*and*.pem/*.keyfiles in.gitignore
i18next/i18next-http-backend (i18next-http-backend)
v3.0.5
Security release — all issues found via an internal audit. See published advisory GHSA-q89c-q3h5-w34g.
- security: refuse to build request URLs when
lngornsvalues contain path-traversal, URL-structure (?,#,%,@, whitespace), path separators, control characters, prototype keys, or exceed 128 chars. Prevents path traversal / SSRF / URL injection via attacker-controlled language-code values.isSafeUrlSegmentis permissive for legitimate i18next language codes (any BCP-47-like shape, underscores, hyphens, dots,+-joined multi-language requests) (GHSA-q89c-q3h5-w34g) - security: per-instance
omitFetchOptions— the fetch-options-stripping fallback is now scoped to a single backend instance viaoptions._omitFetchOptionsinstead of a module-level boolean. One instance hitting a "not implemented" fetch error no longer permanently stripsrequestOptions(includingcredentials,mode,cache) from every other backend instance in the same process - security: strip CR/LF/NUL and other C0/C1 control characters from
lng/ns/ URL values before they appear in error-callback strings (CWE-117 log forging) - security: redact
user:passwordcredentials from URLs before including them in error-callback strings — prevents leaking basic-auth credentials embedded inloadPath/addPath - security: iterate own enumerable keys only (
Object.keys+ prototype-key guard) inaddQueryStringand in thecustomHeadersloop in XHR mode — prevents prototype-pollution amplification into the URL and request headers - chore: ignore
.env*and*.pem/*.keyfiles in.gitignore
Configuration
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Ghost User