Critical severity · published Nov 30, 2022
CVE-2022-46162
discourse-bbcode is the official BBCode plugin for Discourse
9.8
CVSS
1.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 68% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DB
Discourse Bbcode · Discourse
before 2022-11-30 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-46162
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-46162
Patch
https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90
Exploit
https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp
