Improperly sanitized user input leads to XSS
Package
Discourse
(Discourse)
Affected versions
stable < 2.1.5; beta/tests-passed < 3.2.0.beta5
Patched versions
stable >= 2.1.5; beta/tests-passed >= 3.2.0.beta5
Impact
Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy.
Patches
The problem has been resolved in the latest version of Discourse
Workarounds
Ensure Content Security Policy is enabled and does not include
unsafe-inline
.