{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.34.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "2.18.0"
                  },
                  {
                    "fixed": "2.18.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "40b989b1a9dd23d30029b8ce7668634265cfe5ea"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "sanitize-html@2.18.1",
                "range": [
                  {
                    "fixed": "a48dd9fec37d485516d445fbb14a5e76a30ab42e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a48dd9fec37d485516d445fbb14a5e76a30ab42e"
            },
            {
              "introduced": "9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce"
            },
            {
              "fixed": "a48dd9fec37d485516d445fbb14a5e76a30ab42e"
            },
            {
              "fixed": "06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
            },
            {
              "fixed": "40b989b1a9dd23d30029b8ce7668634265cfe5ea"
            }
          ],
          "repo": "https://github.com/apostrophecms/apostrophe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c9rx-x947-fp3h"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113650.json"
  },
  "details": "ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an \u003ciframe\u003e is not allowed and disallowedTagsMode is 'discard' (the defaults), its raw-text content is re-sanitized by a recursive call to sanitizeHtml(text, options). The recursion has no bound and starts each nested call with a fresh state. This vulnerability is fixed in 2.18.1.",
  "id": "CVE-2026-113650",
  "modified": "2026-10-21T02:30:47.265956546Z",
  "published": "2026-10-20T16:19:12.100Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113650.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c9rx-x947-fp3h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113650"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)"
}