CVE-2021-37633
JSON

7.4high

XSS via d-popover and d-html-popover attribute

Severity
7.4high CVSS:3.1 by GitHub_M
Exploit likelihood
0.76% (higher than 52% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2021-37633GHSA-v3v8-3m5w-pjp9

Description

Discourse is an open source discussion platform. In versions prior to 2.7.8 rendering of d-popover tooltips can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse's default Content Security Policy. This issue is patched in the latest `stable` 2.7.8 version of Discourse. As a workaround users may ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.

Affected

Product or packageVersionsReported by
discourse discourse< 2.7.8, before 2.7.8, 2.8.0CVE List, NVD
discourse (Bitnami)before 2.7.8Bitnami Vulnerability Database

All scores

GitHub_M7.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Discourse is an open source discussion platform. In versions prior to 2.7.8 rendering of d-popover tooltips can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse's default Content Security Policy. This issue is patched in the latest `stable` 2.7.8 version of Discourse. As a workaround users may ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.

NVD (es)

Discourse es una plataforma de discusión de código abierto. En versiones anteriores a 2.7.8, la representación de los tooltips de d-popover puede ser susceptible de ataques de tipo XSS. Esta vulnerabilidad sólo afecta a los sitios que han modificado o desactivado la política de seguridad de contenidos predeterminada de Discourse. Este problema está parcheado en la última versión "stable" 2.7.8 de Discourse. Como solución, los usuarios pueden asegurarse de que la política de seguridad de contenidos está activada y no ha sido modificada de forma que sea más vulnerable a ataques de tipo XSS

References

Sources

SourceRecordLicence
CVE ListCVE-2021-37633 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-37633 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2021-37633 changed 2026-09-10Apache-2.0