Stored XSS in SunEditor codeBlock language hover button
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
SunEditor from 3.0.0 before 3.4.3 contains a stored cross-site scripting flaw in the codeBlock plugin, classified as CWE-79. Attackers can store entity-encoded pre language class values that decode to HTML inserted into the hover button via innerHTML. A low-privileged remote attacker needs user interaction, as script runs when a victim hovers over the crafted code block. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
SunEditor from 3.0.0 before 3.4.3 contains a stored cross-site scripting vulnerability in the codeBlock plugin that allows attackers to inject script via entity-encoded pre language class values. Attackers can store content whose language- class decodes to HTML written via innerHTML into the hover button, executing script when victims hover over the block.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade JiHong88 suneditor to version 3.4.3, which fixes the issue. The sources list no fixed version for other releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA suneditor (JiHong88) Fixed in 3.4.3
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137557
- 2026-11-27 Alias added: GHSA-3x59-2ch6-7gv8
References
More JiHong88 vulnerabilities
- TI-2026-42328 SunEditor: Critical XSS vulnerability - sanitizer bypass CVSS 3.1CRITICAL 10.0
- TI-2026-86853 Stored cross-site scripting in SunEditor DocumentType header CVSS 4.0CRITICAL 9.3
- TI-2026-39439 SunEditor: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed CVSS 4.0HIGH 8.5
- TI-2026-86852 Stored cross-site scripting in SunEditor link modal bookmark list CVSS 4.0HIGH 8.3
- TI-2026-86851 Stored cross-site scripting in SunEditor FileUpload plugin file names CVSS 4.0MEDIUM 5.3
- TI-2026-86854 Stored cross-site scripting in SunEditor HTML sanitizer bypass CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-137557 · CVE Program
- CVE-2026-137557 · NVD
- FIRST EPSS
- GHSA-3x59-2ch6-7gv8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences