CVE-2022-46162

HIGH

Discourse BBCode <91478f5 - Code Injection

Title source: llm

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.

Scores

CVSS v3 8.8
EPSS 0.0115
EPSS Percentile 78.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-74 CWE-79
Status published

Affected Products (1)

discourse/discourse_bbcode < 2022-11-30

Timeline

Published Nov 30, 2022
Tracked Since Feb 18, 2026