PT-2023-18510 · Discourse · Discourse

Highjomaxro

·

Published

2023-01-05

·

Updated

2024-03-06

·

CVE-2023-22454

CVSS v3.1

8.0

High

VectorAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Discourse versions prior to 2.8.14 on the stable branch Discourse versions prior to 3.0.0.beta16 on the beta and tests-passed branches
Description The issue concerns a cross-site scripting attack through pending post titles, which can be created by unprivileged users in categories requiring moderator approval. This can lead to a full XSS on sites with modified or disabled Content Security Policy.
Recommendations For versions prior to 2.8.14 on the stable branch, update to version 2.8.14 or later. For versions prior to 3.0.0.beta16 on the beta and tests-passed branches, update to version 3.0.0.beta16 or later. As a temporary workaround, consider restricting the creation of pending posts in categories with the "require moderator approval of all new topics" setting set, until a patch is applied.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

BIT-DISCOURSE-2023-22454
CVE-2023-22454
GHSA-GGQ4-4QXC-C462

Affected Products

Discourse