Vulnerability library
Security checkJune 11, 2026

wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@wangeditor/editor

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @wangeditor/editor package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 4.7.11
  • Patched version(s): 4.7.12

References

Could your website be exposed too?

SmartScanner can check your website for wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 11, 2026