Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-42227: Cross SIte Scripting (XSS) vulnerability exists in KindEditor 4.1.x via a Google search inurl:/examples/upload

42
This month
MEDIUM 6.1UPGRADE

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 score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.9% (top 39%)
CISA exploited listNo
WeaknessCWE-79
Published2021-10-14
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: kindsoft

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

kindsoft kindeditor UPGRADE
Affected: >= 4.1 and <= 4.1.12
Fixed in: newer than 4.1.12
Safe to downgrade to: a release before 4.1
1. Check installed version
apt-cache policy kindeditor || rpm -q kindeditor || kindeditor --version
2. UPGRADE to newer than 4.1.12 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade kindeditor
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade kindeditor
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.1 (Debian / Ubuntu)
apt-cache madison kindeditor sudo apt install kindeditor=<VERSION_BEFORE_4.1> sudo apt-mark hold kindeditor
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list kindeditor sudo dnf downgrade kindeditor-<VERSION_BEFORE_4.1> sudo dnf versionlock add kindeditor
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.