CVE-2022-46162

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

Configuration 1 (hide)

cpe:2.3:a:discourse:discourse_bbcode:*:*:*:*:*:discourse:*:*

History

07 Jul 2023, 19:04

Type Values Removed Values Added
References (CONFIRM) https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp - Exploit, Third Party Advisory (CONFIRM) https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp - Exploit, Vendor Advisory
CWE CWE-74 CWE-79

02 Dec 2022, 16:36

Type Values Removed Values Added
First Time Discourse
Discourse discourse Bbcode
CPE cpe:2.3:a:discourse:discourse_bbcode:*:*:*:*:*:discourse:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References (CONFIRM) https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp - (CONFIRM) https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp - Exploit, Third Party Advisory
References (MISC) https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90 - (MISC) https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90 - Patch, Third Party Advisory

30 Nov 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-30 23:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-46162

Mitre link : CVE-2022-46162

CVE.ORG link : CVE-2022-46162


JSON object : View

Products Affected

discourse

  • discourse_bbcode
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')