PT-2021-23084 · Discourse · Discourse
Nbianca
·
Published
2021-09-27
·
Updated
2024-03-06
·
CVE-2021-41095
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Discourse versions 2.7.7 and earlier
Discourse versions 2.8.0.beta6 and earlier
Description
Discourse is an open source discussion platform. There is a cross-site scripting (XSS) vulnerability in the platform. Rendering of some error messages that contain user input can be susceptible to XSS attacks. This issue only affects sites which have blocked watched words that contain HTML tags, modified or disabled Discourse's default Content Security Policy.
Recommendations
For versions 2.7.7 and earlier, update to the latest stable version of Discourse.
For versions 2.8.0.beta6 and earlier, update to the latest beta or tests-passed version of Discourse.
As a temporary workaround, avoid modifying or disabling Discourse’s default Content Security Policy, and blocking watched words containing HTML tags.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Discourse