CVE Catalog

CVE-2017-20290

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

This enables execution of malicious code in the user's browser, potentially leading to session or data theft.

Recommendation

Update Discourse to version 1.9.0.beta13 or later.

Other vulnerabilities in Discourse

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS