# CVE-2021-42227: Cross site scripting in kindeditor

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-14T16:35:26.000Z
- Modified: 2026-06-17T04:09:29.507Z
- Also known as: GHSA-wv83-jrfh-rp33
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- kindeditor (npm): up to 4.1.12
- kindsoft kindeditor: from 4.1 up to 4.1.12

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/kindsoft/kindeditor/issues/336> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42227> (advisory)
- <https://github.com/kindsoft/kindeditor> (package)

## Sources

- CVE List: [CVE-2021-42227](https://www.cve.org/CVERecord?id=CVE-2021-42227), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-wv83-jrfh-rp33](https://github.com/advisories/GHSA-wv83-jrfh-rp33), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-42227](https://nvd.nist.gov/vuln/detail/CVE-2021-42227), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42227 · Whole record: https://cve.day/CVE-2021-42227.json · Rebuilt by cve.day 2026-11-25T22:58:04.497Z
