CVE-2026-17495
1 advisory.
npm/moment CVE-2026-17495: medium 5.9, EPSS 0.36%
moment vulnerable to Path Traversal via crafted non-string locale name
Action: Upgrade moment to 2.31.0 or later.
npm i moment@2.31.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.29.2 | 2.31.0 | - |
Fixed versions
| 2.31.0 |
Sources
- osv: GHSA-4p3w-j4w9-5jqw
- https://github.com/moment/moment/security/advisories/GHSA-4p3w-j4w9-5jqw
- https://nvd.nist.gov/vuln/detail/CVE-2026-17495
- https://github.com/moment/moment/pull/6386
- https://github.com/moment/moment/commit/5f7d983c9881e65e07574de9dda3190d99520c07
- https://cna.openjsf.org/security-advisories.html
- https://github.com/moment/moment
- https://github.com/moment/moment/releases/tag/2.31.0
CVE-2026-17495 · published · modified · JSON