CVE-2022-25037 json
wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function
published 2024-05-31 2 y ago modified 2026-09-10 1 mo ago also GHSA-9hfw-cvf4-5x25 , EUVD-2024-1556
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @wangeditor/editor 4.7.12
- wangeditor wangeditor 4.7.12
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @wangeditor/editor | <4.7.12 |
4.7.12 |
Affected products
- wangeditor wangeditor
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a
web
-
github.com
/wangeditor-team/wangEditor/issues/3870
web
-
gist.github.com
/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-25037
advisory
-
github.com
/wangeditor-team/wangEditor/issues/3872
web
-
github.com
/wangeditor-team/wangEditor
package
Sources
- CVE List CVE-2022-25037
- GitHub Advisory GHSA-9hfw-cvf4-5x25
- NVD CVE-2022-25037
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.