# CVE-2023-22468: Discourse vulnerable to Cross-site Scripting in local oneboxes

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2023-01-26T08:31:00.485Z
- Modified: 2026-09-10T16:01:30.735Z
- Also known as: BIT-DISCOURSE-2023-22468, GHSA-8mr2-xf8r-wr8m
- 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. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed), are vulnerable to cross-site Scripting. A maliciously crafted URL can be included in a post to carry out cross-site  scripting attacks on sites with disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. This vulnerability is patched in versions 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed). As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 2.8.14; beta < 3.0.0.beta16; tests-passed < 3.0.0.beta16; before 2.8.13; 2.9.0; 3.0.0
- discourse (Bitnami): before 2.8.13

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/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-8mr2-xf8r-wr8m> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22468> (web)

## Sources

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

---

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