Home / CVE-2022-25037
CVE-2022-25037: is it exploited, and which versions of @wangeditor/editor are affected and fixed?
CVE-2022-25037 is a cross-site scripting (XSS) vulnerability in @wangeditor/editor. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: @wangeditor/editor before 4.7.12 (GitHub advisory GHSA-9hfw-cvf4-5x25). Fixed in 4.7.12 (GitHub advisory GHSA-9hfw-cvf4-5x25). Severity: Medium (5.4, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2022-25037?
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.
From the CVE record by mitre, last updated February 13, 2025, 15:46 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @wangeditor/editor | < 4.7.12 | 4.7.12 | GHSA-9hfw-cvf4-5x25 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 11, 2026. Summary: wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.
How severe is CVE-2022-25037?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-25037 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 19, 2024)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/wangeditor-team/wangEditor/issues/3870
- https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d
When was it published, and where is the official record?
- Reserved
- February 14, 2022
- Published
- May 31, 2024, 16:05 UTC
- CVE record updated
- February 13, 2025, 15:46 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 04:32 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on May 31, 2024?
- May 31, 2024CVE-2024-5138 Canonical Ltd. snapd: improper input validation
- May 31, 2024CVE-2024-34009 Moodle: improper input validation
- May 31, 2024CVE-2024-34008 Moodle: cross-site request forgery (CSRF)
- May 31, 2024CVE-2024-34007 Moodle: cross-site request forgery (CSRF)
- May 31, 2024CVE-2024-34006 Moodle: inappropriate Encoding for Output Context
- May 31, 2024CVE-2024-34005 Moodle: information disclosure
- May 31, 2024CVE-2024-34004 Moodle: information disclosure
- May 31, 2024CVE-2024-34003 Moodle: information disclosure
Every CVE published on May 31, 2024
Questions about CVE-2022-25037
Is CVE-2022-25037 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of @wangeditor/editor are affected by CVE-2022-25037?
@wangeditor/editor before 4.7.12, per the GitHub advisory GHSA-9hfw-cvf4-5x25. The tables above give every range the sources list.
Which version fixes CVE-2022-25037?
4.7.12, per the GitHub advisory GHSA-9hfw-cvf4-5x25. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-25037?
Medium (5.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-25037?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.