BIT-discourse-2022-46148

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2022-46148.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-discourse-2022-46148
Aliases
Published
2024-03-06T11:02:57.788Z
Modified
2025-05-20T10:02:07.006Z
Summary
Discourse allows self-XSS through malicious composer message
Details

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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta10:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta11:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta5:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta6:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta7:*:*:*:*:*:*",
        "cpe:2.3:a:discourse:discourse:2.9.0:beta8:*:*:*:*:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / discourse

Package

Name
discourse
Purl
pkg:bitnami/discourse

Severity

  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.8.10
Introduced
2.9.0-beta1
Last affected
2.9.0-beta1
Introduced
2.9.0-beta10
Last affected
2.9.0-beta10
Introduced
2.9.0-beta11
Last affected
2.9.0-beta11
Introduced
2.9.0-beta2
Last affected
2.9.0-beta2
Introduced
2.9.0-beta3
Last affected
2.9.0-beta3
Introduced
2.9.0-beta4
Last affected
2.9.0-beta4
Introduced
2.9.0-beta5
Last affected
2.9.0-beta5
Introduced
2.9.0-beta6
Last affected
2.9.0-beta6
Introduced
2.9.0-beta7
Last affected
2.9.0-beta7
Introduced
2.9.0-beta8
Last affected
2.9.0-beta8