SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe Placeholder
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| jihong88suneditor |
≥ 3.0.0, < 3.4.0→ 3.4.0 |
3.4.0 |
Original description The description as published by the source.
SunEditor from 3.0.0 before 3.4.0 contains a stored cross-site scripting vulnerability in html.clean() that rebuilds iframes from data-se-iframe-holder-attrs JSON without filtering srcdoc or uppercase SRC keys. Attackers can inject crafted HTML through paste, html.set, or html.insert to execute script in the host page origin when victims load or paste the content.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com