CVE-2026-72725: Discourse stored XSS in staff action logs

CVE-2026-72725 · Severity: medium · CVSS 5.4 · Published 2026-08-10

Discourse is an open-source discussion platform used to host community forums and conversations. A vulnerability in the staff action log interface allows an attacker to inject malicious scripts that execute in the staff admin panel, potentially compromising administrator accounts and sensitive administrative operations.

Technologies: Discourse. Vendors: Discourse.

Quick answers

Is CVE-2026-72725 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-72725 being exploited in the wild.
How severe is CVE-2026-72725?
Medium severity, with a CVSS score of 5.4, published 10 August 2026.
Which products and versions are affected?
Discourse prior to 2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0.
Is there a fix for CVE-2026-72725?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-72725 attacked?
It is attacked over the network.
Am I affected by CVE-2026-72725?
Check whether you run Discourse at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a stored cross-site scripting (XSS) flaw in the staff action log model, where previous and new value fields are rendered without proper HTML escaping. An attacker can craft payloads that, when logged as part of a staff action, inject arbitrary JavaScript that executes when staff members view the admin interface. The attack does not require network access beyond what is already available to a user capable of triggering staff actions. Patches are available in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Affected products

  • Discourse Discourse prior to 2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0

Timeline

  • 2026-08-10: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.