# CVE-2021-37633: XSS via d-popover and d-html-popover attribute

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 52% of CVEs (2026-11-30)
- Published: 2021-08-09T19:35:09.000Z
- Modified: 2026-09-10T16:00:44.476Z
- Also known as: BIT-DISCOURSE-2021-37633, GHSA-v3v8-3m5w-pjp9
- Weaknesses: CWE-79
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- discourse discourse: < 2.7.8; before 2.7.8; 2.8.0
- discourse (Bitnami): before 2.7.8

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2021-37633](https://www.cve.org/CVERecord?id=CVE-2021-37633), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-37633](https://nvd.nist.gov/vuln/detail/CVE-2021-37633), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2021-37633](https://osv.dev/vulnerability/BIT-DISCOURSE-2021-37633), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2021-37633 · Whole record: https://cve.day/CVE-2021-37633.json · Rebuilt by cve.day 2026-11-25T22:58:03.076Z
