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 package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 2.7.8, before 2.7.8, 2.8.0 | CVE List, NVD |
| discourse (Bitnami) | before 2.7.8 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high 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
| https://github.com/discourse/discourse/security/advisories/GHSA-v3v8-3m5w-pjp9 | advisory, third-party-advisory | |
| https://github.com/discourse/discourse/commit/38199424bc840d2ef002cd1e9bffdbb99191eb47 | advisory, patch, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-37633 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37633 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-37633 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2021-37633 changed 2026-09-10 | Apache-2.0 |