Path Traversal in Moment

CVE-2022-24785

Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided loc…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.018 (83.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

  • Moment — versions >= 1.0.1, < 2.29.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-24785?
CVE-2022-24785 is a high-severity vulnerability in Moment, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-04-04.
How severe is CVE-2022-24785?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2022-24785 known to be exploited?
11 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.