Vulnerability library
Security checkJanuary 09, 2023

Cross-Site Scripting in Prism - prismjs

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

High severitynpmprismjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer.

This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the Previewers plugin (>=v1.10.0) or the Previewer: Easing plugin (v1.1.0 to v1.9.0).

Recommendation

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

  • Affected version(s): >= 1.1.0, < 1.21.0
  • Patched version(s): 1.21.0

References

Could your website be exposed too?

SmartScanner can check your website for Cross-Site Scripting in Prism - prismjs and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023