CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-56328: HTMLi(XSS without CSP) via Onebox urls in Discourse

6.5 CVSS

Description

Discourse is an open source platform for community discussion. An attacker can execute arbitrary JavaScript on users' browsers by posting a maliciously crafted onebox url. 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, disable inline Oneboxes globally, or allow specific domains for Oneboxing.

Classification

CVE ID: CVE-2024-56328

CVSS Base Severity: MEDIUM

CVSS Base Score: 6.5

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected Products

Vendor: discourse

Product: discourse

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.83% (scored less or equal to compared to others)

EPSS Date: 2025-03-05 (when was this score calculated)

References

https://github.com/discourse/discourse/security/advisories/GHSA-j855-mhxj-x6vg

Timeline