Reflected XSS Vulnerability in Discourse

5.1MEDIUM

CVE-2017-20290

Key Information:

Vendor

Discourse

Status
CVE ID
CVE ID:
CVE-2017-20290
Vendor
CVE Published:
22 October 2026
Fixed in
Fixed in:
1.9.0.beta13

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Discourse 1.9.0.beta2 to below 1.9.0.beta13 is vulnerable
Install Discourse 1.9.0.beta13 or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Discourse. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.1).

What is CVE-2017-20290?

The software version of Discourse prior to 1.9.0.beta13 contains a vulnerability that allows unauthenticated attackers to execute scripts through a crafted GET request. Specifically, the email parameter of the /email/unsubscribed endpoint can be exploited via SVG onload payloads, leading to unescaped rendering of JavaScript in users' browsers. This vulnerability poses a significant risk as it can be exploited to hijack user sessions or execute malicious actions on behalf of the user without their consent.

References

Authorization Flaw in Discourse

CVE-2026-44787
DiscourseDiscourse8.2HIGH

HTML Injection Flaw in Discourse Invitation System

CVE-2025-48062
DiscourseDiscourse7.1HIGH
View more Discourse vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Credit

The Shadowserver Foundation
.