All vulnerabilities

Servers and applications

CVE-2021-39161

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…

Severity
Medium 5.4
Published
26 Aug 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.7.8
Sources
NVD

Affected software

SoftwareAffected versions
DiscourseServers and applications · cpe:a:discourse:discourse
  • Every version before 2.7.8
  • Version 2.8.0-beta1
  • Version 2.8.0-beta2
  • Version 2.8.0-beta3
  • Version 2.8.0-beta4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-39161
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-39161