CVE-2021-39161

Published

Severity

CVSS v3:
5.4 MEDIUM
CVSS v2:
2.1 LOW

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.

References

Configurations

CPE23Version StartVersion EndExact Version
cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:*n/an/a2.8.0
cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:*n/an/a2.8.0
cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:*n/an/a2.8.0
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*n/a2.7.8*
cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:*n/an/a2.8.0

External Links