CVE-2017-20290

published 22 Oct 2026 · updated 5 Nov 2026

Discourse < 1.9.0.beta13 Reflected XSS via /email/unsubscribed

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.9.0.beta13.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
discourse>=1.9.0.beta2 <1.9.0.beta131.9.0.beta13

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2017-20290 severity on Zeptric[![CVE-2017-20290](https://zeptric.io/badge/cve/CVE-2017-20290.svg)](https://zeptric.io/cve/CVE-2017-20290)