Vulnerability library
Security checkOctober 30, 2026

SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed

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

High severitynpmsuneditor

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Summary

A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the SunEditor Embed plugin. Crafted iframe embed HTML followed by an external <script src=…> element bypasses the plugin’s sanitization logic.

Recommendation

Update the suneditor package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, <= 3.1.3
  • Patched version(s): 3.1.4

References

Could your website be exposed too?

SmartScanner can check your website for SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 30, 2026