Approved changes feed: RSS · Atom

cpe:2.3:a:momentjs:moment:*:*:*:*:*:nuget:*:*

part: a version: * update: *

VendorMomentjs (8b0a4ef5-516c-525c-b8fc-6e3aa09f7582)
ProductMoment (798632b7-f538-5edf-9a5a-2b1b08bd7cf1)
Edition*
Language*
Software edition*
Target softwarenuget
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/node-moment purl2cpe 2026-06-01 10:14:56.919622
pkg:deb/ubuntu/node-moment purl2cpe 2026-06-01 10:14:56.919624
pkg:github/moment/moment purl2cpe 2026-06-01 10:14:56.919625
pkg:maven/org.webjars.npm/moment purl2cpe 2026-06-01 10:14:56.919626
pkg:npm/moment purl2cpe 2026-06-01 10:14:56.919628
pkg:nuget/Moment.js purl2cpe 2026-06-01 10:14:56.919629

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-31129 vulnerable 2026-06-08 05:43:40.255377 Inefficient Regular Expression Complexity in moment
HIGH (7.5)
moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.
Published: 2022-07-06T00:00:00.000Z
Updated: 2025-11-03T21:46:17.025Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24785 vulnerable 2026-06-08 05:41:01.630362 Path Traversal in Moment.js
HIGH (7.5)
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.
Published: 2022-04-04T00:00:00.000Z
Updated: 2025-11-03T21:46:06.689Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.