Most notification sub-pages on a user's profile correctly returned 403 when another user tried to open them, but the reactions-received page did not check ownership. An attacker could change the username in the URL and read any user's received reactions.
The HEIF conversion path in Discourse ran ImageMagick without forcing a decoder, so a file named .heic whose bytes were PostScript was handed to Ghostscript and executed. An attacker could then read files under /tmp, render their contents into a stored JPEG, and fetch that JPEG anonymously from the public uploads URL.
The synonym creation and tag settings endpoints only checked permission on the visible target tag, not on each synonym tag ID supplied. A non-admin tag editor could therefore change the synonym relationship of a hidden or restricted tag they could not even view.
An authenticated user could send very large draft payloads to the drafts endpoint, which were saved even when the server returned a 502 error. Sending several such drafts caused response times to exceed 32 seconds, indicating resource exhaustion that could disrupt service for other users.
The reply section of a Discourse forum accepted an extremely large Markdown payload, causing the server to take about 30 seconds to respond and then return a 502 error. An attacker could send many such requests in parallel to exhaust backend resources and disrupt availability.
The Yahoo account connection endpoint lacked CSRF protection and used a GET request, allowing an attacker to trick a victim into linking the attacker's Yahoo account to the victim's Discourse account. This led to full account takeover of the victim's account.
The Discourse application reflected the X-Forwarded-Host header into a font preload URL and CSS block without escaping, allowing script injection. Because responses were cached for a minute, an attacker could poison the cache and serve the script to other visitors whose request headers matched.
Discourse pages that expose the user's CSRF token and username lacked cache-control headers, so when served behind CloudFlare those pages could be cached and later fetched by an attacker in the same CloudFlare region. An attacker could then use the leaked token to change the victim's email address and take over the account.
A stored cross-site scripting flaw existed in the 'post last edited' indicator, where an attacker could inject script that ran when a victim clicked the edit pencil. This could let an attacker steal cookies or run arbitrary code in the victim's browser.
The onebox preview feature that renders a small preview of a linked Discourse topic checked access using a user-supplied source topic id. By supplying the victim topic's own id as that parameter, the category comparison always matched, letting a low-privileged user read staff-only topic content.
An invite redemption endpoint logged in a user based on an invite token and an email address supplied in the request, without verifying that the email matched the invite. A user with invite privileges could therefore log in as any account whose email or username they knew.
The Discourse forum software allowed users to embed images via URL in private messages, and the server fetched those URLs without properly validating the protocol or destination. An attacker could make the server send requests to internal or external hosts, including FTP and gopher, by using a redirect from an attacker-controlled server.
The CSV export controller's permission check only verified that the requested entity type was not "admin", but no such entity type exists, so the check effectively only limited how often a user could export. Any authenticated user could therefore export sensitive data such as the full user list with email addresses and admin status.
An admin could upload a crafted backup archive containing a symbolic link, and after restoring it, read any file the application user could access, including files outside the application directory. This allowed reading local files such as the system password file.
An admin could inject shell commands through a username because the username was placed unescaped inside a backtick command used to gzip a user export file. This allowed the admin to run arbitrary commands on the server, escalating to remote code execution.
A stored cross-site scripting vulnerability existed in Discourse posts because oEmbed data fetched from a remote URL was inserted into the page without escaping. An attacker could host a malicious oEmbed endpoint and embed a link in a post, causing script execution for anyone viewing the post.
The markdown parser failed to properly escape image URLs when building an img tag, so a crafted URL containing a quote could break out of the attribute and inject JavaScript. An attacker could run arbitrary script in the context of a victim viewing the rendered content.
The Audio and Video onebox parsers in Discourse's onebox library mishandled single quotes in user-supplied URLs, so a malicious user could inject an event handler and execute JavaScript.
A DOM-based cross-site scripting flaw existed in Discourse's search feature. An attacker could craft a search URL containing a script payload that executed when a victim opened the link and used advanced search.
A stored iframe injection in the Discourse mermaid theme component allowed an attacker to embed a malicious iframe in a post or comment. When another user viewed the post, the iframe's script redirected the top-level page to an attacker-controlled site, causing a permanent open redirection.
The Discourse poll feature accepted multiple values for the same option parameter, so a user could vote for several poll options in one request. An attacker could cast multiple votes in a single poll, skewing the results.
Discourse's unauthenticated AWS SNS webhook handler passed an attacker-influenced SubscribeURL to Ruby's open, which executes shell commands when the value starts with a pipe. A signature-check bypass using a crafted SigningCertURL pointing at an AWS SNS API response containing a certificate let an attacker supply a validly signed message and gain remote command execution.
A theme's compatibility file was parsed and its version value was passed unsanitised into a shell command, so a malicious theme repository could run arbitrary OS commands on the server. An attacker who could get a theme imported or updated could execute commands as the Discourse user.
DI
Discourse
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.