{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.17.7"
                  },
                  {
                    "fixed": "2.18.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "bd727d101de798d574196173f3cbc4f9aaedb3f7"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "72f4531e7b491738049eec423d0c1c2342828e5f"
            },
            {
              "fixed": "710a4e98a7406ab744a05eb4997911c6d6dd6acc"
            },
            {
              "fixed": "bd727d101de798d574196173f3cbc4f9aaedb3f7"
            }
          ],
          "repo": "https://github.com/apostrophecms/apostrophe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8g6g-w2rq-xcmc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145156.json"
  },
  "details": "sanitize-html 2.17.7 before 2.18.2 contains a cross-site scripting vulnerability that allows attackers to bypass allowedSchemes by supplying SVG animation attributeName values with multiple colons. Attackers can submit markup like attributeName xlink:href:x with javascript: URLs in values, from, or to attributes, executing script when victims click the animated link.",
  "id": "CVE-2026-145156",
  "modified": "2026-12-04T17:45:40.983914241Z",
  "published": "2026-12-04T16:31:09.779Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145156.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/apostrophecms/apostrophe"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145156"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass"
}