Several security issues were fixed in Moment.js.
It was discovered that Moment.js incorrectly handled certain input paths. An
attacker could possibly use this issue to cause a loss of integrity by
changing the correct path to one of their choice. (CVE-2022-24785)
It was discovered that Moment.js incorrectly handled certain input. An attacker
could possibly use this issue to cause a denial of service. (CVE-2022-31129)