{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.4.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "57db24ac218cd10942fed0bb8288e9cb40b334bb"
            }
          ],
          "repo": "https://github.com/jihong88/suneditor",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5pp5-5qrp-vq56"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124492.json"
  },
  "details": "SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in ModalAnchorEditor's #createBookmarkList, which inserts entity-decoded h1-h6 header textContent into the bookmark list via innerHTML without escaping. Attackers can store HTML-encoded payloads in editor headers that execute JavaScript when a victim opens the link modal and types # in the URL input.",
  "id": "CVE-2026-124492",
  "modified": "2026-11-14T02:30:54.168850938Z",
  "published": "2026-11-08T13:16:08.514Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124492.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/JiHong88/suneditor/security/advisories/GHSA-5pp5-5qrp-vq56"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124492"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-link-modal-bookmark-list"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark List"
}