moment vulnerabilities
Parse, validate, manipulate, and display dates
- Registry
- npm
- Latest
- 2.31.0
- License
- MIT
5 known advisories
The latest version, 2.31.0, is not affected by any of them. Projects on older versions may be.
npm install moment@2.31.0Is your project on an affected moment?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for moment
moment vulnerable to Path Traversal via crafted non-string locale name
- Affected
- >=2.29.2 <2.31.0
- Fixed in
- 2.31.0
Moment.js vulnerable to Inefficient Regular Expression Complexity
- Affected
- >=2.18.0 <2.29.4
- Fixed in
- 2.29.4
Path Traversal: 'dir/../../filename' in moment.locale
- Affected
- <2.29.2
- Fixed in
- 2.29.2
Regular Expression Denial of Service in moment
- Affected
- <2.19.3
- Fixed in
- 2.19.3
Regular Expression Denial of Service in moment
- Affected
- <2.11.2
- Fixed in
- 2.11.2
Is your moment version vulnerable?
- moment 2.31No known advisories in 2.31.0
- moment 2.301 advisory in 2.30.1
- moment 2.291 advisory in 2.29.4
- moment 2.282 advisories in 2.28.0
- moment 2.272 advisories in 2.27.0
- moment 2.262 advisories in 2.26.0
- moment 1.73 advisories in 1.7.2
- moment 1.63 advisories in 1.6.2
- moment 1.53 advisories in 1.5.1
- moment 1.43 advisories in 1.4.0
- moment 1.33 advisories in 1.3.0
- moment 1.23 advisories in 1.2.0
Which of your client projects still run an old moment?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.