Cross-site Scripting via email preview when CSP disabled in Discourse
Summary
Cross-site Scripting via email preview when CSP disabled in Discourse
Original description
The description as published by the source.
Discourse is an open source platform for community discussion. Improper escaping of user input allowed for Cross-site Scripting attacks via the digest email preview UI. This issue only affects sites with CSP disabled. This issue has been patched in the 3.1.1 stable release as well as the 3.2.0.beta1 release. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory developer.mozilla.org
- advisory github.com
- web nvd.nist.gov