Moment.js <= 2.29.1 - Directory Traversal

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE Not available
CVSS High (7.5)
Publicly Published April 5, 2022
Last Updated January 22, 2024
Description

The Javascript library moment.js is vulnerable to a path traversal vulnerability in versions up to, and including, 2.29.1. This makes it possible for attackers to read files outside of the accessed site's root directory leading to information disclosure.

References

1 affected software package

Software Type Plugin
Software Slug elasticpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.1.0
Patched Version
  • 4.2.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.