Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2025-22602

Stored DOM-based XSS (without CSP) via video placeholders in Discourse

Description

Discourse is an open source platform for community discussion. In affected versions an attacker can execute arbitrary JavaScript on users' browsers by posting a malicious video placeholder html element. This issue only affects sites with CSP disabled. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should enable CSP.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

discourse discourse

  • stable: <= 3.3.3affected
  • beta: <= 3.4.0.beta3affected
  • tests-passed: <= 3.4.0.beta3affected

References