VYPR
Unrated severityNVD Advisory· Published Sep 27, 2021· Updated Aug 4, 2024

XSS via blocked watched word in error message

CVE-2021-41095

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

3
  • Discourse (software)/Discoursellm-fuzzy2 versions
    <=2.7.7 (stable), <=2.8.0.beta6 (beta), <=2.8.0.beta6 (tests-passed)+ 1 more
    • (no CPE)range: <=2.7.7 (stable), <=2.8.0.beta6 (beta), <=2.8.0.beta6 (tests-passed)
    • (no CPE)range: <= 2.7.7
  • osv-coords
    Range: <= 2.7.7

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.