THREAT OPS › Threat News › [GHSA] GHSA-4p3w-j4w9-5jqw (medium) — moment vulnerable to Path Traversal via crafted non-string locale name
[GHSA] GHSA-4p3w-j4w9-5jqw (medium) — moment vulnerable to Path Traversal via crafted non-string locale name
GHSA-4p3w-j4w9-5jqw Severity: medium CVE: CVE-2026-17495
moment vulnerable to Path Traversal via crafted non-string locale name
### Impact
moment before 2.31.0 is vulnerable to path traversal in `moment.locale()`. When an application passes a non-string, attacker-influenced value to `moment.locale()`, a specially crafted object can bypass the locale name validation and cause moment to load a fi
Indicators of compromise
- CVE-2026-17495cve
- CVE-2022-24785cve
Original source: https://github.com/advisories/GHSA-4p3w-j4w9-5jqw