CVE-2021-39161

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

01 Sep 2021, 16:58

Type Values Removed Values Added
CPE cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:*
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:*
cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:*
cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 4.4
v2 : 2.1
v3 : 5.4
References (CONFIRM) https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqph - (CONFIRM) https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqph - Third Party Advisory

26 Aug 2021, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-26 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-39161

Mitre link : CVE-2021-39161

CVE.ORG link : CVE-2021-39161


JSON object : View

Products Affected

discourse

  • discourse
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')