# CVE-2023-43659: Cross-site Scripting via email preview when CSP disabled in Discourse

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- 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.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2023-10-16T21:05:31.991Z
- Modified: 2026-09-10T16:01:30.776Z
- Also known as: BIT-DISCOURSE-2023-43659, GHSA-g4qg-5q2h-m8ph
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. Improper escaping of user input allowed for Cross-site Scripting attacks via the digest email preview UI. This issue only affects sites with CSP disabled. This issue has been patched in the 3.1.1 stable release as well as the 3.2.0.beta1 release. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.

(As written by CVE List.)

## Affected

- discourse discourse: stable <= 3.1.1; beta <= 3.2.0.beta1; from stable up to 3.1.1; from beta up to 3.2.0.beta1; up to 3.1.1; 3.2.0
- discourse (Bitnami): up to 3.1.1

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-g4qg-5q2h-m8ph> (advisory, vendor-advisory)
- <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43659> (web)

## Sources

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

---

Page: https://cve.day/CVE-2023-43659 · Whole record: https://cve.day/CVE-2023-43659.json · Rebuilt by cve.day 2026-11-25T22:58:28.835Z
