CVE-2021-42227: Cross SIte Scripting (XSS) vulnerability exists in KindEditor 4.1.x via a Google search inurl:/examples/upload
CVE-2021-42227 is a medium-severity flaw (CVSS 6.1) affecting kindeditor. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cross SIte Scripting (XSS) vulnerability exists in KindEditor 4.1.x via a Google search inurl:/examples/uploadbutton.html and then the .html file on the website that uses this editor (the file suffix is allowed).
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 39%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2021-10-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-42227?
kindeditor: upgrade to newer than 4.1.12. Exact commands for each OS are on this page.
Is CVE-2021-42227 being exploited?
CVE-2021-42227 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-42227 affect?
CVE-2021-42227 affects kindeditor. Severity is medium (CVSS 6.1). Cross SIte Scripting (XSS) vulnerability exists in KindEditor 4.1.x via a Google search inurl:/examples/uploadbutton.html and then the .html file on the website that uses this editor (the file suffix is allowed).
How urgent is CVE-2021-42227?
Priority 42/100. Public exploit reference
Related CVEs
- CVE-2021-42228 HIGH 8.8 UPGRADE A Cross Site Request Forgery (CSRF) vulnerability exists in KindEditor 4.1.x, as demonstrated by examples/uplo
- CVE-2021-37267 MEDIUM 6.1 MITIGATE Cross Site Scripting (XSS) vulnerability exists in all versions of KindEditor, which can be exploited by an at
- CVE-2021-30086 MEDIUM 6.1 DOWNGRADE Cross Site Scripting (XSS) vulnerability exists in KindEditor (Chinese versions) 4.1.12, which can be exploite
- CVE-2020-28717 MEDIUM 6.1 DOWNGRADE Cross Site Scripting (XSS) vulnerability in content1 parameter in demo.jsp in kindsoft kindeditor version 4.1.
- CVE-2019-7543 MEDIUM 6.1 DOWNGRADE In KindEditor 4.1.11, the php/demo.php content1 parameter has a reflected Cross-site Scripting (XSS) vulnerabi