Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @wangeditor/editor
  4. ›
  5. CVE-2022-25037

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

May 31, 2024 (updated June 2, 2024)

There is a cross-site scripting (XSS) issue in wanEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.

References

  • gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d
  • github.com/advisories/GHSA-9hfw-cvf4-5x25
  • github.com/wangeditor-team/wangEditor
  • github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a
  • github.com/wangeditor-team/wangEditor/issues/3870
  • github.com/wangeditor-team/wangEditor/issues/3872
  • nvd.nist.gov/vuln/detail/CVE-2022-25037

Code Behaviors & Features

Detect and mitigate CVE-2022-25037 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.7.12

Fixed versions

  • 4.7.12

Solution

Upgrade to version 4.7.12 or above.

Source file

npm/@wangeditor/editor/CVE-2022-25037.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.