BIT-discourse-2023-29196

    Dashboard / Vulnerabilities / BIT-discourse-2023-29196

    BIT-discourse-2023-29196

    Published: 6 Mar 2024Last Modified: 8 Sept 2026

    Summary: HTML injection via topic embedding in Discourse

    Details: Discourse is an open source platform for community discussion. This vulnerability is not exploitable on the default install of Discourse. A custom feature must be enabled for it to work at all, and the attacker’s payload must pass the CSP to be executed. However, if an attacker succeeds in embedding Javascript that does pass the CSP, it could result in session hijacking for any users that view the attacker’s post. The vulnerability is patched in the latest tests-passed, beta and stable branches. Users are advised to upgrade. Users unable to upgrade should enable and/or restore your site's CSP to the default one provided with Discourse. Remove any embed-able hosts configured.

    Affected packages

    Package

    Name: discourse

    Purl: pkg:bitnami/discourse

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.1.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    BIT-discourse-2023-29196 | CVE-DB