// For flags

CVE-2022-46148

Discourse allows self-XSS through malicious composer message

Severity Score

5.4
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Discourse is an open-source messaging platform. In versions 2.8.10 and prior on the `stable` branch and versions 2.9.0.beta11 and prior on the `beta` and `tests-passed` branches, users composing malicious messages and navigating to drafts page could self-XSS. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

Discourse es una plataforma de mensajería de código abierto. En las versiones 2.8.10 y anteriores en la rama "stable" y en las versiones 2.9.0.beta11 y anteriores en las ramas "beta" y "tests-passed", los usuarios que redactaban mensajes maliciosos y navegaban a la página de borradores podían realizado un auto-XSS. Esta vulnerabilidad puede provocar un XSS completo en sitios que han modificado o deshabilitado la Política de Seguridad de Contenido predeterminada de Discourse. Este problema está solucionado en las últimas versiones stable, beta y tests-passed de Discourse.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-11-28 CVE Reserved
  • 2022-11-29 CVE Published
  • 2024-06-21 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (1)
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
Search vendor "Discourse" for product "Discourse"
<= 2.8.10
Search vendor "Discourse" for product "Discourse" and version " <= 2.8.10"
-
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta1
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta10
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta11
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta2
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta3
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta4
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta5
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta6
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta7
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.9.0
Search vendor "Discourse" for product "Discourse" and version "2.9.0"
beta8
Affected