Vulnerability library
Security checkJanuary 09, 2023

Multiple Content Injection Vulnerabilities in marked

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

Medium severitynpmmarked

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions 0.3.0 and earlier of marked are affected by two cross-site scripting vulnerabilities, even when sanitize: true is set.

The attack vectors for this vulnerability are GFM Codeblocks and JavaScript URLs.

Recommendation

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

  • Affected version(s): <= 0.3.0
  • Patched version(s): 0.3.1

References

Could your website be exposed too?

SmartScanner can check your website for Multiple Content Injection Vulnerabilities in marked and gives you actionable findings to investigate.

Start a free scan

Related Issues

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