PT-2026-96282 · Discourse · Discourse

CVE-2026-59830

·

Published

2026-09-21

·

Updated

2026-09-29

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Discourse versions prior to 2026.7.0
Description The post action component fails to escape user-controlled display names before they are interpolated into an HTML string passed to the trustHTML function. An attacker can set a crafted display name to persist markup in post action descriptions, allowing the execution of arbitrary scripts in the browser of another user who views the affected user activity streams.
Recommendations Update to version 2026.7.0.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-DISCOURSE-2026-59830
CVE-2026-59830
GHSA-X6MF-P7CG-69RW

Affected Products

Discourse