SecurityContext

CVE-2026-124493: SunEditor - Stored XSS

  • Cve: CVE-2026-124493
  • Name: SunEditor - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies and hijacking accounts.
  • Remediation: Upgrade to SunEditor 3.4.0 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirements: Attacker must be able to store entity-encoded HTML in h1-h6 headers
  • Labels source: securitycontext
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00344
  • Epss percentile: 0.28264
  • Assignee: [email protected]
  • Published at: 2026-11-08T14:18:19Z
  • Age in days: 16
  • Modified at: 2026-11-12T20:28:31Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-124493
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfhnvd
https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontentnvd

Projects

RepositoryLink kindsIndexedUrl
JiHong88/suneditorfix, security_advisoryyes/v1/repositories/JiHong88/suneditor

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts