discord-markdown
Affected
- introduced
0, fixed2.3.1(semver)
Fixed versions
2.3.1
Fix
- Fixed version
2.3.1npm install [email protected]
Advisory
Also known as: None
discord-html not escaping HTML code blocks when lacking a language identifier
Impact
Any website using discord-markdown with user-generated markdown is vulnerable to having code injected into the page where the markdown is displayed.
Patches
This has been patched in version 2.3.1
Workarounds
Escape the characters <>& before sending plain code blocks to discord-markdown.
References
https://github.com/brussell98/discord-markdown/issues/13
High Basis: The source's own band: HIGH
0, fixed 2.3.1 (semver)2.3.1
2.3.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0