Vulnerability

CVE-2021-41095

mediumCVSS 3.1 6.1Published 27 Sep 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Discourse discourse

Weakness type

References

  • github.com /discourse/discourse/pull/14434/commits/40b776b9d39c41d9273…
  • github.com /discourse/discourse/security/advisories/GHSA-qvqx-2h7w-m479

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning