CVE-2022-46162 Discourse BBCode plugin vulnerable to arbitrary CSS injection
CriticalCVSS 9.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse-bbcode | = < 91478f5cfecdcc43cf85b997168a8ecfd0f8df90 | No fix listed |
| discourse bbcode | < 2022-11-30 | 2022-11-30 |
References
- github.com exploit vendor-advisory
- github.com patch third-party-advisory