CVE Catalog

CVE-2026-124492

HighCVSS 7.6
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can store a malicious payload in editor headers that executes in the victim's browser, potentially leading to session theft or actions performed on behalf of the user.

Recommendation

Update SunEditor to version 3.4.0 or later. Until patched, consider restricting header insertion capabilities or implementing additional content sanitization.

Other vulnerabilities in SunEditor

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS