CVE-2023-22454
JSON

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 packageVersionsReported 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.0CVE List, NVD
discourse (Bitnami)before 2.8.14Bitnami Vulnerability Database

All scores

GitHub_M8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2023-22454 changed 2025-03-10CVE Terms of Use
NVDCVE-2023-22454 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2023-22454 changed 2026-09-10Apache-2.0