CVE-2026-72725

Discourse: Stored XSS in staff action logs injects staff UI

Published Aug 10, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
Discourse is an open-source discussion platform. Prior to 2026.1.6, the staff action log model rendered unescaped previous and new value fields that could inject stored cross-site scripting into the staff interface. The issue is fixed in 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Analysis

AI-generated

Technical impact

The vulnerability stems from the staff action log model rendering previous and new value fields without proper escaping, allowing injected HTML or script content to be stored and later executed within the staff UI. This stored XSS can lead to session hijacking, credential theft, or arbitrary code execution in the browser context of any staff member who views the affected logs.

Affected Systems

Discourse users running versions earlier than 2026.1.6 are impacted. The issue is addressed in releases 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0. All instances of the Discourse platform, regardless of deployment size, should be assessed against these version thresholds.

Risk and Exploitability

The reported CVSS score of 5.4 indicates moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector requires an attacker to have staff‑level access capable of creating or modifying action log entries. Once malicious content is stored, any staff member who views the affected logs will have the injected script executed in their browser, potentially compromising the entire staff session. The risk is confined to staff interfaces and does not automatically extend to general users or the public forum pages.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Discourse to 2026.1.6 or a later release that contains the fix.
  • Audit staff accounts to ensure that only trusted personnel have rights to create or edit action log entries; consider removing or restricting this capability where possible.
  • Inspect existing logs for suspicious or injected content and delete or neutralize any entries identified as malicious.

Generated by OpenCVE AI on August 10, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.1.6, the staff action log model rendered unescaped previous and new value fields that could inject stored cross-site scripting into the staff interface. The issue is fixed in 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Title Discourse: Stored XSS in staff action logs injects staff UI
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 10, 2026, 6:29 PM
Reserved
Aug 10, 2026, 1:48 PM
Status
Deferred
Published
Aug 10, 2026, 4:19 PM
Modified
Sep 8, 2026, 8:54 PM