CVE-2021-41095
Last modified
CVE-2021-41095 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Discourse | Discourse | <= 2.7.7 | — |
| Discourse | Discourse | 2.8.0 | Beta1 |
References
- https://github.com/discourse/discourse/pull/14434/commits/40b776b9d39c41d9273d01eecf8fe03aa39fcb59Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-qvqx-2h7w-m479Third Party Advisory
- https://github.com/discourse/discourse/pull/14434/commits/40b776b9d39c41d9273d01eecf8fe03aa39fcb59Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-qvqx-2h7w-m479Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41095?
How severe is CVE-2021-41095?
How do I fix CVE-2021-41095?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41089Moby is an open-source project created by Docker to enable s…6.3
- CVE-2021-41090Grafana Agent is a telemetry collector for sending metrics, …7.5
- CVE-2021-41091Moby is an open-source project created by Docker to enable s…6.3
- CVE-2021-41092Docker CLI is the command line interface for the docker cont…7.5
- CVE-2021-41093Wire is an open source secure messenger. In affected version…9.8
- CVE-2021-41094Wire is an open source secure messenger. Users of Wire by Bu…4.6
- CVE-2021-41096Rucky is a USB HID Rubber Ducky Launch Pad for Android. Vers…7.5
- CVE-2021-41097aurelia-path is part of the Aurelia platform and contains ut…7.5
- CVE-2021-41098Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader p…7.5
- CVE-2021-41099Redis is an open source, in-memory database that persists on…7.5
- CVE-2021-4110mruby is vulnerable to NULL Pointer Dereference7.5
- CVE-2021-41100Wire-server is the backing server for the open source wire s…9.8
Are you affected by CVE-2021-41095?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
