CVE-2022-46162: high-severity vulnerability in discourse-bbcode
Discourse BBCode plugin vulnerable to arbitrary CSS injection
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
The Discourse BBCode plugin fails to properly sanitize CSS in user-generated content, allowing attackers to inject malicious styles that can deface pages, steal information, or redirect users. This only affects sites with the plugin installed.
The vulnerability exists in CSS rendering within the discourse-bbcode plugin, allowing arbitrary CSS injection via BBCode content. An authenticated attacker can inject malicious stylesheets through crafted BBCode markup, potentially exfiltrating data via CSS selectors or causing denial of service. The issue is resolved in commit 91478f5.