Summary by poeck
A vulnerability in Discord's syntax highlighting allows attackers to trigger a Denial-of-Service attack by exploiting recursive context switching between Handlebars and HTML. By alternating between raw block expressions and script tags, the highlighter is forced into a heavy computational loop that causes significant performance lag or a full application crash on Desktop and Web clients.