Repository navigation
Update dependency moment to v2.31.0 [SECURITY] - abandoned - #3525
Open
renovate[bot] wants to merge 2 commits into
Open
renovate[bot] wants to merge 2 commits into
renovate[bot] wants to merge 2 commits into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-moment-vulnerability
branch
from
October 2, 2026 11:21
bac8fbf to
f731cd1
Compare
renovate
Bot
force-pushed
the
renovate/npm-moment-vulnerability
branch
2 times, most recently
from
October 5, 2026 10:09
89c70a3 to
a2ddfac
Compare
renovate
Bot
force-pushed
the
renovate/npm-moment-vulnerability
branch
2 times, most recently
from
October 6, 2026 12:45
98acba1 to
caf2d43
Compare
renovate
Bot
force-pushed
the
renovate/npm-moment-vulnerability
branch
2 times, most recently
from
October 6, 2026 18:27
bc0b325 to
e070b80
Compare
renovate
Bot
force-pushed
the
renovate/npm-moment-vulnerability
branch
from
October 8, 2026 07:42
e070b80 to
4c3bdcd
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Contributor
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This branch was successfully deployed
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:
2.29.4→2.31.0moment vulnerable to Path Traversal via crafted non-string locale name
CVE-2026-17495 / GHSA-4p3w-j4w9-5jqw
More information
Details
Impact
moment before 2.31.0 is vulnerable to path traversal in
moment.locale(). When an application passes a non-string, attacker-influenced value tomoment.locale(), a specially crafted object can bypass the locale name validation and cause moment to load a file from an attacker-controlled path. This is a further bypass of the validation added in 2.29.2 for CVE-2022-24785.This affects server-side (npm) users only. Plain string input is not affected: the existing validation correctly rejects strings that contain path separators.
Patches
This issue is patched in moment 2.31.0.
Workarounds
Validate that any user-supplied input is a string before passing it to
moment.locale().Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (in timezone Europe/London)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.