{"id":"CVE-2022-46162","published":"2022-11-30T00:00:00Z","modified":"2025-04-22T15:58:52Z","title":"Discourse BBCode plugin vulnerable to arbitrary CSS injection","vendor":"discourse","product":"discourse-bbcode","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01208,"percentile":0.69137,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp","tags":[]},{"url":"https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90","tags":[]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":13.83},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse-bbcode","versions":["< 91478f5cfecdcc43cf85b997168a8ecfd0f8df90"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:39:55.552681Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-48993","exploited":false,"provenance":"source"}}