THREATOPS
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

medgithub_advisoriesPublished 2026-09-29

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

Original source: https://github.com/advisories/GHSA-4p3w-j4w9-5jqw