Cross-site scriptingin Discourse.
No public exploit found; not on exploited lists.
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.
- Upgrade Discourse to 1.9.0.beta13 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 14 Oct 2026CVE ID reserved by VulnCheck.
- 22 Oct 2026Published in the CVE List.
- 5 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Discourse vulnerabilities
Same weakness: Cross-site scripting
- github.com patch
- github.com technical-description, patch
- github.com technical-description
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2017-20290: Cross-site scripting in Discourse. https://patchminder.com/cve/cve-2017-20290/ (accessed 5 December 2026).