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.
References
Link | Resource |
---|---|
https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90 | Patch Third Party Advisory |
https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp | Exploit Third Party Advisory |
Configurations
Information
Published : 2022-11-30 15:15
Updated : 2022-12-02 08:36
NVD link : CVE-2022-46162
Mitre link : CVE-2022-46162
JSON object : View
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Products Affected
discourse
- discourse_bbcode