{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.0"
                  },
                  {
                    "fixed": "4.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "2c13c4f8db7838447659608e876099a8d1a28181"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "2c9cac0f3f6905cd91277b82493f1b13d921a1eb"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.1.0",
                "range": [
                  {
                    "fixed": "423aacc5a05c1c615f6cef088d6cd59e1b681e29"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "423aacc5a05c1c615f6cef088d6cd59e1b681e29"
            },
            {
              "fixed": "2c13c4f8db7838447659608e876099a8d1a28181"
            },
            {
              "fixed": "2c9cac0f3f6905cd91277b82493f1b13d921a1eb"
            }
          ],
          "repo": "https://github.com/fb55/domutils",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-42h4-gpjh-8xhf"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145165.json"
  },
  "details": "domutils 1.3.0 before 4.1.0 contains an inefficient algorithm in removeSubsets() that allows remote attackers to cause CPU exhaustion by supplying documents with many nested or sibling nodes. Attackers can submit crafted HTML or XML processed by css-select selectAll() or cheerio find() to block the Node.js event loop for seconds.",
  "id": "CVE-2026-145165",
  "modified": "2026-12-04T20:45:43.982335194Z",
  "published": "2026-12-04T16:30:59.849Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145165.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/fb55/domutils"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L11-L40"
    },
    {
      "type": "FIX",
      "url": "https://github.com/fb55/domutils/commit/2c13c4f8db7838447659608e876099a8d1a28181"
    },
    {
      "type": "FIX",
      "url": "https://github.com/fb55/domutils/commit/2c9cac0f3f6905cd91277b82493f1b13d921a1eb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/fb55/domutils/releases/tag/v4.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145165"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/domutils-1.3.0-before-4.1.0-denial-of-service-via-removesubsets-inefficient-algorithm"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm"
}