First published: Mon Sep 27 2021(Updated: )
Discourse is an open source discussion platform. There is a cross-site scripting (XSS) vulnerability in versions 2.7.7 and earlier of the `stable` branch, versions 2.8.0.beta6 and earlier of the `beta` branch, and versions 2.8.0.beta6 and earlier of the `tests-passed` branch. Rendering of some error messages that contain user input can be susceptible to XSS attacks. This vulnerability only affects sites which have blocked watched words that contain HTML tags, modified or disabled Discourse's default Content Security Policy. This issue is patched in the latest `stable`, `beta` and `tests-passed` versions of Discourse. As a workaround, avoid modifying or disabling Discourse’s default Content Security Policy, and blocking watched words containing HTML tags.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Discourse Discourse | <=2.7.7 | |
Discourse Discourse | =2.8.0-beta1 | |
Discourse Discourse | =2.8.0-beta2 | |
Discourse Discourse | =2.8.0-beta3 | |
Discourse Discourse | =2.8.0-beta4 | |
Discourse Discourse | =2.8.0-beta5 | |
Discourse Discourse | =2.8.0-beta6 |
https://github.com/discourse/discourse/pull/14434/commits/40b776b9d39c41d9273d01eecf8fe03aa39fcb59
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.