XSS in Discourse
CVE-2023-22454
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (45.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Discourse — versions 2.4.0, 2.9.0, 2.8.0
Weakness classification (CWE)
References
- github.com/discourse/discourse/security/advisories/GHSA-ggq4-4qxc-c462 (Third Party Advisory)
- github.com/discourse/discourse/commit/c0e2d7badac276d82a4056a994b48d68a8993a12 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-22454?
- CVE-2023-22454 is a high-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 8.0/10. Published 2023-01-05.
- How severe is CVE-2023-22454?
- High severity. CVSS v3 base score is 8.0 out of 10.