First published: Wed Nov 30 2022(Updated: )
discourse-bbcode is the official BBCode plugin for Discourse. Prior to commit 91478f5, CSS injection can occur when rendering content generated with the discourse-bccode plugin. This vulnerability only affects sites which have the discourse-bbcode plugin installed and enabled. This issue is patched in commit 91478f5. As a workaround, ensure that the Content Security Policy is enabled and monitor any posts that contain bbcode.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Discourse | <2022-11-30 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-46162 has a medium severity due to the potential for CSS injection.
To fix CVE-2022-46162, update the discourse-bbcode plugin to a version released after November 30, 2022.
CVE-2022-46162 affects any Discourse installation that has the discourse-bbcode plugin installed and enabled.
CVE-2022-46162 is a CSS injection vulnerability that can be exploited through content generated by the discourse-bbcode plugin.
Attackers can exploit CVE-2022-46162 to inject malicious CSS into a page, potentially compromising the website's integrity.