Security mailing lists by PureSourceCode

CVE-2021-41095

MEDIUM 6.1CVSS 3.1

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.

Published
27 Sep 2021
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD discourse discourse
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
<= 2.7.7
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:*
= 2.8.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:*
= 2.8.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:*
= 2.8.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:*
= 2.8.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:*
= 2.8.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:*
= 2.8.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.