XSS in Discourse Discourse-Bbcode
CVE-2022-46162
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (65.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: +0.000
Affected products
- Discourse Discourse-Bbcode — versions < 91478f5cfecdcc43cf85b997168a8ecfd0f8df90
- Discourse Bbcode
Weakness classification (CWE)
References
- github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp (Exploit, Vendor Advisory)
- github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-46162?
- CVE-2022-46162 is a high-severity vulnerability in Discourse Discourse-Bbcode, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 8.8/10. Published 2022-11-30.
- How severe is CVE-2022-46162?
- High severity. CVSS v3 base score is 8.8 out of 10.