CVE-2021-41095
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
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.
Overview
- CVE ID
- CVE-2021-41095
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-09-27T20:15:07
- Last Modified Date
- 2021-10-06T15:49:17
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* | 1 | OR | 2.7.7 | |
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 | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/discourse/discourse/security/advisories/GHSA-qvqx-2h7w-m479 | Third Party Advisory |
https://github.com/discourse/discourse/pull/14434/commits/40b776b9d39c41d9273d01eecf8fe03aa39fcb59 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-41095 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41095 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:52:19 | Added to TrackCVE | |||
2022-12-05 11:23:58 | 2021-09-27T20:15Z | 2021-09-27T20:15:07 | CVE Published Date | updated |
2022-12-05 11:23:58 | 2021-10-06T15:49:17 | CVE Modified Date | updated | |
2022-12-05 11:23:58 | Analyzed | Vulnerability Status | updated |