CVE-2021-41095
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
27/09/2021
Last modified:
07/11/2023
Description
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.
Impact
Base Score 3.x
6.10
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* | 2.7.7 (including) | |
cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:* | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:* | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:* | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:* | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:* | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page