Read the docs
TI-2023-13624 Aliases CVE-2023-29196

HTML injection via topic embedding in Discourse

Priority LOW 27CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00313 24th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
discoursediscoursestable: < 3.0.3; beta: < 3.1.0.beta4—No fix listedCNA
  • discourse Vendordiscourse Affected stable: < 3.0.3; beta: < 3.1.0.beta4 Fixed in — No fix listed CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*before 3.0.3Vulnerablediscourse
cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*before 3.1.0Vulnerablediscourse
cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*3.1.0 beta1Vulnerablediscourse
cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:*3.1.0 beta2Vulnerablediscourse
cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:*3.1.0 beta3Vulnerablediscourse
  • cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* Versions before 3.0.3 Vulnerable ·discourse
  • cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* Versions before 3.1.0 Vulnerable ·discourse
  • cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:* Versions 3.1.0 beta1 Vulnerable ·discourse
  • cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:* Versions 3.1.0 beta2 Vulnerable ·discourse
  • cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:* Versions 3.1.0 beta3 Vulnerable ·discourse

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-29196

References

  • TI-2021-19656 Denial of Service in discourse CVSS 3.1MEDIUM 6.8
  • TI-2024-36150 Potential Backup file leaked via Nginx in Discourse CVSS 3.1HIGH 7.5
  • TI-2021-18002 RCE via malicious SNS subscription payload CVSS 3.1CRITICAL 10.0
  • TI-2026-24651 Discourse: Open redirect via `sso_destination_url` cookie in `enter` CVSS 4.0MEDIUM 5.1
  • TI-2026-22278 Discourse leaks private topic title and post excerpt via user action API endpoint CVSS 4.0HIGH 8.7
  • TI-2023-24152 Unauthenticated access to new private chat messages in Discourse CVSS 3.1HIGH 7.5
See all 262 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences