CVE-2022-46162
Prior to commit 91478f5, CSS injection can occur when rendering content generated with the discourse-bccode plugin.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.14%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.14% probability · 65th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74, CWE-79
- Affected
- discourse/discourse bbcode
- Source
- security-advisories@github.com
References
- https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90Patch, Third Party Advisory
- https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mpExploit, Vendor Advisory
- https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90Patch, Third Party Advisory
- https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mpExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.