CVE-2021-39161
Last modified
CVE-2021-39161 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Discourse is an open source platform for community discussion. In affected versions category names can be used for Cross-site scripting(XSS) attacks. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Discourse | Discourse | < 2.7.8 | — |
| Discourse | Discourse | 2.8.0 | Beta1 |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqphThird Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqphThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39161?
How severe is CVE-2021-39161?
How do I fix CVE-2021-39161?
Are you affected by CVE-2021-39161?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
