
🚨High - js-yaml YAML11_SCHEMA !!omap Quadratic-Time DoS (CVE-2026-59870) js-yaml 5.x yaml.load() parsing YAML11_SCHEMA documents with the !!omap tag hits O(n^2) CPU: omapTag.addItem() does a linear duplicate-key scan per insertion. A crafted ordered-map payload can peg CPU and trigger denial of service. Non-omap schemas aren’t impacted. 👉Affected: js-yaml 5.0.0-5.2.0 | Upgrade to 5.2.1
Post summary
A quadratic‑time DoS vulnerability (CVE‑2026‑59870) is disclosed for js‑yaml 5.0.0‑5.2.0 affecting the !!omap tag, and upgrading to 5.2.1 is recommended to mitigate the issue.
