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.
Published: 2026-08-10
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 10 Aug 2026 16:15:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:29:03.050Z

Reserved: 2026-08-10T13:48:09.545Z

Link: CVE-2026-72725

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:00:03Z

Weaknesses
  • CWE-79

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