Vulnerability library
Security checkJanuary 09, 2023

Content injection 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.7 and earlier of marked When mangling is disabled via option mangle don’t escape target href. This allow attacker to inject arbitrary html-event into resulting a tag.

Recommendation

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

  • Affected version(s): < 0.3.9
  • Patched version(s): 0.3.9

References

Could your website be exposed too?

SmartScanner can check your website for Content injection 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