XSS via d-popover and d-html-popover attribute
Package
No package listed
Affected versions
stable <= 2.7.7; beta <= 2.8.0.beta4; tests-passed <= 2.8.0.beta4;
Patched versions
stable >= 2.7.8; beta >= 2.8.0.beta4; tests-passed >= 2.8.0.beta4;
Impact
Rendering of d-popover tooltips can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse's default Content Security Policy.
Patches
This issue is patched in the latest
stable
,beta
andtests-passed
versions of Discourse.Workarounds
Ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.