{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "5.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "0c3659348364959da62954b73728fb3bd05ebcb4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v5.12.0",
                "range": [
                  {
                    "fixed": "976470f6100eac10304d80507bbd76fb739ba7f5"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "976470f6100eac10304d80507bbd76fb739ba7f5"
            },
            {
              "fixed": "0c3659348364959da62954b73728fb3bd05ebcb4"
            }
          ],
          "repo": "https://github.com/naturalintelligence/fast-xml-parser",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-474x-hrwr-fgx4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126066.json"
  },
  "details": "fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character in an unterminated stop-node body and repeatedly rescans the remaining input while looking for a closing greater-than character. An attacker who supplies XML containing many tag fragments without a later closing character can cause quadratic rescanning before parsing fails, blocking a Node.js event loop and causing CPU-exhaustion denial of service. This issue is fixed in version 5.12.0.",
  "id": "CVE-2026-126066",
  "modified": "2026-11-14T02:31:04.648002092Z",
  "published": "2026-11-10T20:23:16.019Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126066.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126066"
    },
    {
      "type": "FIX",
      "url": "https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags"
}