CVE-2022-46162 - CVE House
Back to Database
Status published High CVE-2022-46162

Discourse BBCode plugin vulnerable to arbitrary CSS injection

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-46162

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

discourse-bbcode
Vulnerable Versions:
< 91478f5cfecdcc43cf85b997168a8ecfd0f8df90

Timeline

Official Publish: November 30th, 2022
Last Modified: April 22nd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)