Sourced from i18next-http-backend's changelog.
3.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.gitignore3.0.4
- use own interpolation function for loadPath and addPath instead of relying on i18next's interpolator i18next#2420 — this means only
{{lng}}and{{ns}}placeholders are supported; custom interpolation prefix/suffix from i18next config no longer applies to backend paths
5757fa3
3.0.54cee84f
security: hardening for 3.0.54cbc487
Bump next from 16.2.1 to 16.2.3 in /example/next (#180)0d7dcbb
make last change more clearc740e01
yeare1dc72b
changelog fix4dbb485
3.0.45f33a0c
use own interpolation function for loadPath and addPath instead of
relying on...681c09d
update ci actionse63ff16
adjust deno test