# moment (npm) vulnerabilities

5 known vulnerabilities (2 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/moment

## Advisories (5)

### [CVE-2026-17495](https://cve.now/CVE-2026-17495): moment vulnerable to Path Traversal via crafted non-string locale name

- Severity: Medium 5.9
- Published: Sep 15, 2026
- Affected: from 2.29.2, fixed in 2.31.0.

### [CVE-2022-31129](https://cve.now/CVE-2022-31129): Inefficient Regular Expression Complexity in moment

- Severity: High 7.5
- Published: Jul 6, 2022
- Affected: from 2.18.0, fixed in 2.29.4.

### [CVE-2022-24785](https://cve.now/CVE-2022-24785): Path Traversal in Moment.js

- Severity: High 7.5
- Published: Apr 4, 2022
- Affected: fixed in 2.29.2.

### [CVE-2017-18214](https://cve.now/CVE-2017-18214): The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different…

- Severity: Unrated
- Published: Mar 4, 2018
- Affected: fixed in 2.19.3.

### [CVE-2016-4055](https://cve.now/CVE-2016-4055): The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU…

- Severity: Unrated
- Published: Jan 23, 2017
- Affected: fixed in 2.11.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/moment
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
