8.0high
Discourse vulnerable to Cross-site Scripting through pending post titles descriptions
- Severity
- 8.0high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.62% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2023-22454GHSA-ggq4-4qxc-c462
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List, NVD |
| discourse (Bitnami) | before 2.8.14 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Discourse es una plataforma de discusión de fuentes de opciones. Antes de la versión 2.8.14 en la rama `stable` y la versión 3.0.0.beta16 en las ramas `beta` y `tests-passed`, los títulos de las publicaciones pendientes se podían usar para ataques de cross-site scripting. Los usuarios sin privilegios pueden crear publicaciones pendientes cuando una categoría tiene configurada la configuración "requerir la aprobación del moderador para todos los temas nuevos". Esta vulnerabilidad puede provocar un XSS completo en sitios que han modificado o deshabilitado la Política de seguridad de contenido predeterminada de Discourse. Hay un parche disponible en las versiones 2.8.14 y 3.0.0.beta16.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22454 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2023-22454 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2023-22454 changed 2026-09-10 | Apache-2.0 |