Security mailing lists by PureSourceCode

CVE-2021-39161

MEDIUM 5.4CVSS 3.1

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.

Published
26 Aug 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 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:N/AC:H/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD discourse discourse
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
< 2.7.8 2.7.8
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

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 26 Aug 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.