Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse Bbcode | < 2022-11-30 |
Related Weaknesses (CWE)
References
- https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168PatchThird Party Advisory
- https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqvExploitVendor Advisory
- https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168PatchThird Party Advisory
- https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqvExploitVendor Advisory
FAQ
What is CVE-2022-46162?
CVE-2022-46162 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 onl...
How severe is CVE-2022-46162?
CVE-2022-46162 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-46162?
Check the references section above for vendor advisories and patch information. Affected products include: Discourse Discourse Bbcode.