Open-source package vulnerability · npm
CVE-2022-25037: wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function
mediumCVSS 3.1 5.4GHSA-9hfw-cvf4-5x25
There is a cross-site scripting (XSS) issue in wangEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.
Published May 31, 2024 · Updated Jun 11, 2026
Affected packages
@wangeditor/editor
- Ecosystem
- npm
- Affected
- <= 4.7.11
- Fixed in
- 4.7.12
- Check
npm ls @wangeditor/editor
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
There is a cross-site scripting (XSS) issue in wangEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.
Credited to TheeCryptoChad.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25037
- https://github.com/wangeditor-team/wangEditor/issues/3870
- https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d
- https://github.com/wangeditor-team/wangEditor/issues/3872
- https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a
- https://github.com/advisories/GHSA-9hfw-cvf4-5x25
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
