SB2026102817 - Multiple vulnerabilities in Discourse



SB2026102817 - Multiple vulnerabilities in Discourse

Published: October 28, 2026

Security Bulletin ID SB2026102817
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2026-91159)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]


The vulnerability allows a remote user to inject persistent HTML and CSS into forum posts, presenting misleading content and fraudulent interfaces that enable phishing against site visitors.

The vulnerability exists due to improper HTML sanitization in Discourse's oEmbed processing when an entire response fragment is trusted because its first iframe matches the configured origin allowlist. A remote user can post a URL to a controlled public webpage whose oEmbed response combines an allowlisted iframe with unrelated sibling elements or style declarations to inject deceptive content into forum posts.


2) Incorrect authorization (CVE-ID: CVE-2026-91157)

CWE-ID: CWE-863 - Incorrect Authorization

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to access media and attachments intended to be private.

The vulnerability exists due to incorrect authorization in Discourse's upload access controls when category permissions are changed from public to restricted, including during bulk import operations. A remote attacker can request the short URLs of previously public uploads that retain their public-access flag to access media and attachments despite the category's read restrictions.

Only sites with secure uploads enabled are affected. The exposure also includes uploads in deleted topics.


Remediation

Install update from vendor's website.