Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, a topic "featured link" was not sufficiently normalized and escaped before being rendered in the topic list, allowing a user who can set a featured link to inject JavaScript when default Content Security Policy protections were modified or disabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Published: 2026-07-09
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Discourse, an open‑source discussion platform, has a stored cross‑site scripting flaw that occurs when a topic featured link is not properly normalized and escaped before being displayed in the topic list. A user who can set a featured link can embed malicious JavaScript, which will execute in the browsers of any visitor to the topic list if the platform’s default Content Security Policy protections are modified or disabled. This allows arbitrary script execution in a user’s browser context. The likely attack vector is that an authenticated user with permission to set or edit a featured link injects code, and the vulnerability is exploitable only when CSP protections are weakened or removed.

Affected Systems

Discourse Discourse platform. All releases before 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5 are vulnerable. The fix is available in these patched releases; upgrading to any of them removes the flaw. No other products or versions are mentioned as affected.

Risk and Exploitability

The CVSS score of 7.4 indicates a high risk that an attacker can execute arbitrary JavaScript in a victim’s browser, limited to the scope of that user’s session. The EPSS score of < 1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog, suggesting that no widespread exploitation has been observed yet. The flaw can be leveraged by those with editing privileges, particularly if the site’s default CSP has been weakened or disabled. Prompt patching reduces the possibility of malicious script execution.

Generated by OpenCVE AI on July 29, 2026 at 11:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Discourse to 2026.6.0 or one of the patched releases (2026.5.1, 2026.4.2, 2026.1.5).
  • Verify that the default Content Security Policy remains enabled and re‑enable it if it has been altered.
  • If an upgrade cannot be performed immediately, restrict the ability to set featured links to trusted administrators and monitor for suspicious activity.

Generated by OpenCVE AI on July 29, 2026 at 11:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 10 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Thu, 09 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, a topic "featured link" was not sufficiently normalized and escaped before being rendered in the topic list, allowing a user who can set a featured link to inject JavaScript when default Content Security Policy protections were modified or disabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Title Discourse: Topic featured link susceptible to stored XSS
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T14:40:09.311Z

Reserved: 2026-06-16T21:48:43.126Z

Link: CVE-2026-55424

cve-icon Vulnrichment

Updated: 2026-07-10T14:40:02.940Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:00:12Z

Weaknesses
  • CWE-79

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