CVE-2021-39161
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
26/08/2021
Last modified:
01/09/2021
Description
Discourse is an open source platform for community discussion. In affected versions category names can be used for Cross-site scripting(XSS) attacks. This is mitigated by Discourse's default Content Security Policy and this vulnerability only affects sites which have modified or disabled or changed Discourse's default Content Security Policy have allowed for moderators to modify categories. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to 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.
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Base Score 2.0
2.10
Severity 2.0
LOW
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* | 2.7.8 (excluding) | |
| 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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



