CVE-2021-39161

CVSS V2 Low 2.1 CVSS V3 Medium 5.4
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.
Overview
  • CVE ID
  • CVE-2021-39161
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-08-26T20:15:07
  • Last Modified Date
  • 2021-09-01T16:58:25
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* 1 OR 2.7.8
cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:* 1 OR
cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:* 1 OR
cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:* 1 OR
cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:H/Au:S/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • HIGH
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 2.1
  • Severity
  • LOW
  • Exploitability Score
  • 3.9
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 5.4
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.3
  • Impact Score
  • 2.7
References
Reference URL Reference Tags
https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqph Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:08:03 Added to TrackCVE
2022-12-05 09:10:53 2021-08-26T20:15Z 2021-08-26T20:15:07 CVE Published Date updated
2022-12-05 09:10:53 2021-09-01T16:58:25 CVE Modified Date updated
2022-12-05 09:10:53 Analyzed Vulnerability Status updated