# CVE-2023-22454: Discourse vulnerable to Cross-site Scripting through pending post titles descriptions

- 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.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2023-01-05T19:58:36.355Z
- Modified: 2026-09-10T16:01:30.729Z
- Also known as: BIT-DISCOURSE-2023-22454, GHSA-ggq4-4qxc-c462
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, pending post titles can be used for cross-site scripting attacks. Pending posts can be created by unprivileged users when a category has the "require moderator approval of all new topics" setting set. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. A patch is available in versions 2.8.14 and 3.0.0.beta16.

(As written by CVE List.)

## Affected

- discourse discourse: < 2.8.14; >= 2.9.0.beta0, < 3.0.0.beta16; before 2.8.14; 1.1.0; 1.2.0; 1.3.0; 1.4.0; 1.5.0
- discourse (Bitnami): before 2.8.14

## 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 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-ggq4-4qxc-c462> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/commit/c0e2d7badac276d82a4056a994b48d68a8993a12> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22454> (web)

## Sources

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

---

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