Vulnerabilities/

discord-html not escaping HTML code blocks when lacking a language identifier

Severity:
High

Description

Any website using discord-markdown with user-generated markdown is vulnerable to having code injected into the page where the markdown is displayed.

Recommendation

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

References

Related Issues

Tags:
npm
discord-markdown
Anything's wrong? Let us know Last updated on January 09, 2023

This issue is available in SmartScanner Professional

See Pricing