Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/moment@2.3.1
purl pkg:npm/moment@2.3.1
Next non-vulnerable version 2.29.4
Latest non-vulnerable version 2.29.4
Risk 4.0
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-cjwf-nuwg-4yc2
Aliases:
CVE-2017-18214
GHSA-446m-mv8f-q348
Uncontrolled Resource Consumption The moment module for `Node.js` is prone to a regular expression denial of service via a crafted date string.
2.19.3
Affected by 2 other vulnerabilities.
VCID-fg81-yqah-rbep
Aliases:
GHSA-hxf5-mg84-pj4m
Moderate severity vulnerability that affects moment Withdrawn, accidental duplicate publish. The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
2.11.2
Affected by 3 other vulnerabilities.
VCID-gtht-4h82-pqg4
Aliases:
GMS-2017-332
Regular Expression Denial of Service Moment is vulnerable to a low severity regular expression denial of service vulnerability.
2.19.3
Affected by 2 other vulnerabilities.
VCID-kexn-gjxj-uudm
Aliases:
CVE-2022-24785
GHSA-8hfj-j24r-96c4
Path Traversal: 'dir/../../filename' in moment.locale This vulnerability impacts npm (server) users of moment.js, especially if user provided locale string, eg `fr` is directly used to switch moment locale.
2.29.2
Affected by 1 other vulnerability.
VCID-quy6-sg5w-qyhe
Aliases:
CVE-2016-4055
GHSA-87vv-r9j6-g5qv
Regular Expression Denial of Service in moment The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
2.11.2
Affected by 3 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-29T20:23:54.550420+00:00 GitLab Importer Affected by VCID-kexn-gjxj-uudm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2022-24785.yml 38.5.0
2026-04-29T19:18:40.134424+00:00 GitLab Importer Affected by VCID-cjwf-nuwg-4yc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2017-18214.yml 38.5.0
2026-04-29T19:17:10.313247+00:00 GitLab Importer Affected by VCID-gtht-4h82-pqg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/GMS-2017-332.yml 38.5.0
2026-04-29T19:16:17.179442+00:00 GitLab Importer Affected by VCID-quy6-sg5w-qyhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2016-4055.yml 38.5.0
2026-04-16T21:44:12.866650+00:00 GitLab Importer Affected by VCID-kexn-gjxj-uudm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2022-24785.yml 38.4.0
2026-04-16T20:41:55.695864+00:00 GitLab Importer Affected by VCID-cjwf-nuwg-4yc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2017-18214.yml 38.4.0
2026-04-16T20:40:22.927752+00:00 GitLab Importer Affected by VCID-gtht-4h82-pqg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/GMS-2017-332.yml 38.4.0
2026-04-16T20:39:29.103774+00:00 GitLab Importer Affected by VCID-quy6-sg5w-qyhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2016-4055.yml 38.4.0
2026-04-16T01:22:07.719993+00:00 GHSA Importer Affected by VCID-fg81-yqah-rbep https://github.com/advisories/GHSA-hxf5-mg84-pj4m 38.4.0
2026-04-16T01:20:28.167166+00:00 GHSA Importer Affected by VCID-cjwf-nuwg-4yc2 https://github.com/advisories/GHSA-446m-mv8f-q348 38.4.0
2026-04-11T22:59:50.541192+00:00 GitLab Importer Affected by VCID-kexn-gjxj-uudm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2022-24785.yml 38.3.0
2026-04-11T21:52:31.692864+00:00 GitLab Importer Affected by VCID-cjwf-nuwg-4yc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2017-18214.yml 38.3.0
2026-04-11T21:51:06.947596+00:00 GitLab Importer Affected by VCID-gtht-4h82-pqg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/GMS-2017-332.yml 38.3.0
2026-04-11T21:50:15.130469+00:00 GitLab Importer Affected by VCID-quy6-sg5w-qyhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2016-4055.yml 38.3.0
2026-04-11T12:51:14.037061+00:00 GHSA Importer Affected by VCID-fg81-yqah-rbep https://github.com/advisories/GHSA-hxf5-mg84-pj4m 38.3.0
2026-04-11T12:48:40.864876+00:00 GHSA Importer Affected by VCID-cjwf-nuwg-4yc2 https://github.com/advisories/GHSA-446m-mv8f-q348 38.3.0
2026-04-02T23:08:29.593715+00:00 GitLab Importer Affected by VCID-kexn-gjxj-uudm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2022-24785.yml 38.1.0
2026-04-02T22:06:18.913881+00:00 GitLab Importer Affected by VCID-cjwf-nuwg-4yc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2017-18214.yml 38.1.0
2026-04-02T22:04:57.131318+00:00 GitLab Importer Affected by VCID-gtht-4h82-pqg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/GMS-2017-332.yml 38.1.0
2026-04-02T22:04:05.888208+00:00 GitLab Importer Affected by VCID-quy6-sg5w-qyhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2016-4055.yml 38.1.0
2026-04-02T13:44:35.437507+00:00 GHSA Importer Affected by VCID-fg81-yqah-rbep https://github.com/advisories/GHSA-hxf5-mg84-pj4m 38.1.0
2026-04-02T13:43:22.995070+00:00 GHSA Importer Affected by VCID-cjwf-nuwg-4yc2 https://github.com/advisories/GHSA-446m-mv8f-q348 38.1.0
2026-04-01T17:27:57.652667+00:00 GitLab Importer Affected by VCID-kexn-gjxj-uudm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2022-24785.yml 38.0.0
2026-04-01T16:23:16.952419+00:00 GitLab Importer Affected by VCID-cjwf-nuwg-4yc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2017-18214.yml 38.0.0
2026-04-01T16:21:54.922434+00:00 GitLab Importer Affected by VCID-gtht-4h82-pqg4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/GMS-2017-332.yml 38.0.0
2026-04-01T16:21:03.663600+00:00 GitLab Importer Affected by VCID-quy6-sg5w-qyhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/moment/CVE-2016-4055.yml 38.0.0