CVE-2021-41095
Summary
| CVE | CVE-2021-41095 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-27 20:15:00 UTC |
| Updated | 2023-11-07 03:38:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Discourse | Discourse | 2.8.0 | beta1 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta2 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta3 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta4 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta5 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta6 | All | All |
| Application | Discourse | Discourse | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| SECURITY: Escape watched word in error message by nbianca · Pull Request #14434 · discourse/discourse · GitHub | MISC | github.com | |
| XSS via blocked watched word in error message · Advisory · discourse/discourse · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.