fix(deps): update dependency i18next-http-middleware to ^3.9.8 (main) - #8805
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency i18next-http-middleware to ^3.9.8 (main)#8805renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
❌ Deploy Preview for modernjs-byted failed. Why did it fail? →
|
❌ Deploy Preview for modernjs-byted failed. Why did it fail? →
|
renovate
Bot
force-pushed
the
renovate/main-i18next-http-middleware-3.x
branch
from
August 14, 2026 21:07
c465827 to
bda81a6
Compare
renovate
Bot
force-pushed
the
renovate/main-i18next-http-middleware-3.x
branch
from
August 22, 2026 05:29
bda81a6 to
418ca4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.9.7→^3.9.8Release Notes
i18next/i18next-http-middleware (i18next-http-middleware)
v3.9.8Compare Source
lng/nsinmissingKeyHandlerbefore forwarding them tobackendConnector.saveMissing(). The route params were used unvalidated, while the siblinggetResourcesHandleralready filtered them since 3.9.3. Because those values become the{{lng}}/{{ns}}segments of the backend'saddPath, and route params arrive percent-decoded, a request such asPOST /locales/add/..%2f..%2f..%2ftmp%2fpwned/xcould write outside the locales directory oni18next-fs-backend;lng=__proto__additionally reached that backend'squeuedWritespath walk. Unsafe values now get a400and never reach the backend. The sameisSafeLangIdentifier/isSafeNsIdentifiersplit applies, so legitimate values (including nested namespaces likea/b) are unaffected.utils.isSafeLangIdentifierto detected languages inLanguageDetector.detect(). Detected values come from untrusted request input (querystring, path, cookie, session, header) and were filtered only byutils.hasXSS, which targets markup payloads and does not reject..,/,\, control characters or prototype keys. With the defaultsupportedLngs: false, i18next resolves any string, so a crafted?lng=could reach the backend'sloadPathas a traversal segment (arbitrary file read oni18next-fs-backend, request forgery oni18next-http-backend). The check runs afterconvertDetectedLanguage, so a custom converter cannot reintroduce an unsafe value. All five built-in detectors converge on this one filter.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.