npm
CVE-2026-124494
SunEditor before 3.4.0 Stored XSS via : Entity Sanitizer Bypass
- Severity
- Critical 9.3
- Published
- 8 Nov 2026
- Last changed
- 10 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.4.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
suneditornpm · osv:npm:suneditor |
|
About suneditor
- Weekly downloads (npm)
- 77,950npm, 24 Nov 2026
Vulnerabilities in suneditor
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 1
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-124422SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe PlaceholderMedium 5.3 8 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-124494