Skip to content

CVE-2022-46148 Discourse allows self-XSS through malicious composer message

MediumCVSS 5.4 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Discourse is an open-source messaging platform. In versions 2.8.10 and prior on the stable branch and versions 2.9.0.beta11 and prior on the beta and tests-passed branches, users composing malicious messages and navigating to drafts page could self-XSS. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse <= 2.8.10; = 2.9.0-beta1; = 2.9.0-beta2; = 2.9.0-beta3 +9 more after 2.8.10 Fixed

Affected products

ProductAffected versionsFixed in
discourse = <= 2.8.10 No fix listed
discourse = >= 2.9.0.beta1, <= 2.9.0.beta11 No fix listed
discourse <= 2.8.10 No fix listed
discourse = 2.9.0-beta1 No fix listed
discourse = 2.9.0-beta10 No fix listed
discourse = 2.9.0-beta11 No fix listed
discourse = 2.9.0-beta2 No fix listed
discourse = 2.9.0-beta3 No fix listed
discourse = 2.9.0-beta4 No fix listed
discourse = 2.9.0-beta5 No fix listed
discourse = 2.9.0-beta6 No fix listed
discourse = 2.9.0-beta7 No fix listed
discourse = 2.9.0-beta8 No fix listed

References