wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @wangeditor/editor | < 4.7.12 | 4.7.12 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25037
- https://github.com/wangeditor-team/wangEditor/issues/3870
- https://github.com/wangeditor-team/wangEditor/issues/3872
- https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a
- https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d
- https://github.com/wangeditor-team/wangEditor
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
-- Platform
- npm
- Package
@wangeditor/editor- Disclosed
- 31.05.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9hfw-cvf4-5x25 - CC BY 4.0
Vulnerability history: @wangeditor/editor
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.