SunEditor 3.0.0 before 3.4.3 Stored XSS via codeBlock Language Hover Button
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| JiHong88suneditor |
≥ 3.0.0, < 3.4.3→ 3.4.3 |
3.4.3 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com