Paper/Archive/CVE-2022-46162

CVE-2022-46162

discourse discourse-bbcode — Discourse BBCode plugin vulnerable to arbitrary CSS injection

Description · from the CVE record

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

ProductAffectedFixed inSource
discourse-bbcode< 91478f5cfecdcc43cf85b997168a8ecfd0f8df90–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mprefgithub.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90