Description
Affected versions of moment are vulnerable to a low severity regular expression denial of service when parsing dates as strings.
Recommendation
Update the moment package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.19.3
- Patched version(s): 2.19.3
References
Related Issues
- min-document vulnerable to prototype pollution - CVE-2025-57352
- Path Traversal: 'dir/../../filename' in moment.locale - CVE-2022-24785
- Remote code execution via the `pretty` option. - CVE-2021-21353
- Vite bypasses server.fs.deny when using ?raw?? - CVE-2025-30208
- Tags:
- npm
- moment
Anything's wrong? Let us know Last updated on April 14, 2023