SunEditor before 3.4.0 Stored XSS via : Entity Sanitizer Bypass
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| JiHong88suneditor |
< 3.4.0→ 3.4.0 |
3.4.0 |
Original description The description as published by the source.
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability because the html.clean() sanitizer's _normalizeURL() function decodes named entities like : to an empty string. Attackers can inject href values such as javascript: that pass the _isSafeURL() check but are decoded by browsers, executing JavaScript when victims click stored links.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com