CVE-2022-46162
Discourse BBCode plugin vulnerable to arbitrary CSS injection
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
discurso-bbcode es el complemento oficial de BBCode para Discourse. Antes de commit 91478f5, puede ocurrir una inyección de CSS al representar contenido generado con el complemento discurso-bccode. Esta vulnerabilidad solo afecta a los sitios que tienen instalado y habilitado el complemento discurso-bbcode. Este problema se solucionó en commit 91478f5. Como workaround, asegúrese de que la Política de Seguridad de Contenido esté habilitada y supervise cualquier publicación que contenga bbcode.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-11-28 CVE Reserved
- 2022-11-30 CVE Published
- 2024-06-22 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/discourse/discourse-bbcode/security/advisories/GHSA-8c87-xpqv-c7mp | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/discourse/discourse-bbcode/commit/91478f5cfecdcc43cf85b997168a8ecfd0f8df90 | 2023-07-07 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Discourse Search vendor "Discourse" | Discourse Bbcode Search vendor "Discourse" for product "Discourse Bbcode" | < 2022-11-30 Search vendor "Discourse" for product "Discourse Bbcode" and version " < 2022-11-30" | discourse |
Affected
|