Vulnerability Details : CVE-2021-41095
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-41095
- cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
- 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:beta1:*:*:*:*:*:*
- cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:*
- cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-41095
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 29 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-41095
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
4.2
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
1.6
|
2.5
|
GitHub, Inc. |
CWE ids for CVE-2021-41095
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-41095
-
https://github.com/discourse/discourse/security/advisories/GHSA-qvqx-2h7w-m479
XSS via blocked watched word in error message · Advisory · discourse/discourse · GitHubThird Party Advisory
-
https://github.com/discourse/discourse/pull/14434/commits/40b776b9d39c41d9273d01eecf8fe03aa39fcb59
SECURITY: Escape watched word in error message by nbianca · Pull Request #14434 · discourse/discourse · GitHubPatch;Third Party Advisory
Jump to