Vulnerability library
Security checkJanuary 09, 2023

HTML Injection in marky-markdown

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

Medium severitynpmmarky-markdown

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

All versions of marky-markdown are vulnerable to HTML Injection due to a validation bypass. The package only allows iframes where the source is youtube.com but it is possible to bypass the validation with sources where youtube.com is the sub-domain, such as youtube.com.evil.co. This

Recommendation

No fix is available yet. Followings are affected versions:

  • >= 0.0.0

References

Could your website be exposed too?

SmartScanner can check your website for HTML Injection in marky-markdown and gives you actionable findings to investigate.

Start a free scan

Related Issues

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