Vulnerabilities/

Cross site scripting in markdown-to-jsx

Severity:
Medium

Description

Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.

Recommendation

Update the markdown-to-jsx package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
markdown-to-jsx
Anything's wrong? Let us know Last updated on October 15, 2024

This issue is available in SmartScanner Professional

See Pricing