cvelo
P2 · HighCVSS 9.3

SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent

  • CVE-2026-124493
  • GHSA-pxmj-79fq-gv83
  • EUVD-2026-119548

Description

SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.

Text from the CVE.org record.

Affected

  • JiHong88 suneditor

    • before 3.4.0
    • 3.4.0: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.