CVE-2022-24785

HIGHNVD 7.57.5
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 2.0%, top 16% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
7.5
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 6%CVSS: 7.5Exploit: NoneExposed: 0

A fix is available — apply it.

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 locale string is directly used to switch moment locale. This problem is patched in 2.29.2, and the patch can be applied to all affected versions. As a workaround, sanitize the user-provided locale name before passing it to Moment.js.

CVSS v3
7.5
EG Score
7.5(medium)
EPSS
92.1%
KEV
Not listed

Published

April 4, 2022

Last Modified

November 3, 2025

References (15)

Frequently asked(5)

What is CVE-2022-24785?
CVE-2022-24785 is a high vulnerability published on April 4, 2022. 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 locale string is directly used to switch moment locale. This…
When was CVE-2022-24785 disclosed?
CVE-2022-24785 was first published in the National Vulnerability Database on April 4, 2022, with the most recent update on November 3, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-24785 actively exploited?
CVE-2022-24785 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 92.1% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2022-24785?
CVE-2022-24785 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2022-24785?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-24785, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2022-24785

Explore →

Is Your Infrastructure Affected by CVE-2022-24785?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.