CVE-2017-20290

MEDIUM CVSS 4.0: 5.1 EPSS 0.27%
Updated Oct 22, 2026
Discourse
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 1.9.0.
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Discourse
Public PoC Yes

Discourse 1.9.0.beta2 before 1.9.0.beta13 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the email parameter of /email/unsubscribed. Attackers can craft GET requests with SVG onload payloads, which unsubscribed.html.erb renders unescaped via html_safe, executing JavaScript in victims' browsers. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0