# CVE-2022-25037: wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-05-31T16:05:30.670Z
- Modified: 2026-09-10T03:50:13.670Z
- Also known as: GHSA-9hfw-cvf4-5x25
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wangeditor wangeditor: from 4.7.11 before 4.7.12
- @wangeditor/editor (npm): before 4.7.12

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/wangeditor-team/wangEditor/issues/3870> (web)
- <https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25037> (advisory)
- <https://github.com/wangeditor-team/wangEditor/issues/3872> (web)
- <https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a> (web)
- <https://github.com/wangeditor-team/wangEditor> (package)

## Sources

- CVE List: [CVE-2022-25037](https://www.cve.org/CVERecord?id=CVE-2022-25037), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-9hfw-cvf4-5x25](https://github.com/advisories/GHSA-9hfw-cvf4-5x25), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-25037](https://nvd.nist.gov/vuln/detail/CVE-2022-25037), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25037 · Whole record: https://cve.day/CVE-2022-25037.json · Rebuilt by cve.day 2026-11-25T22:58:19.822Z
