CVE-2024-23834
Discourse XSS via CSP Bypass
Description
Discourse is an open-source discussion platform. Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. The vulnerability is patched in 3.1.5 and 3.2.0.beta5. As a workaround, ensure Content Security Policy is enabled and does not include `unsafe-inline`.
INFO
Published Date :
Jan. 30, 2024, 10:15 p.m.
Last Modified :
Feb. 8, 2024, 4:39 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.4
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-23834
.
URL | Resource |
---|---|
https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000 | Patch |
https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc | Vendor Advisory |
https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094 | Release Notes Vendor Advisory |
https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093 | Release Notes Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-23834
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-23834
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 08, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000 No Types Assigned https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000 Patch Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc Vendor Advisory Changed Reference Type https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094 No Types Assigned https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094 Release Notes, Vendor Advisory Changed Reference Type https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093 No Types Assigned https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093 Release Notes, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (excluding) 3.1.5 *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.2.0 *cpe:2.3:a:discourse:discourse:3.2.0:beta1:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.2.0:beta2:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.2.0:beta3:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.2.0:beta4:*:*:beta:*:*:* -
CVE Received by [email protected]
Jan. 30, 2024
Action Type Old Value New Value Added Description Discourse is an open-source discussion platform. Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. The vulnerability is patched in 3.1.5 and 3.2.0.beta5. As a workaround, ensure Content Security Policy is enabled and does not include `unsafe-inline`. Added Reference GitHub, Inc. https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc [No types assigned] Added Reference GitHub, Inc. https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000 [No types assigned] Added Reference GitHub, Inc. https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094 [No types assigned] Added Reference GitHub, Inc. https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093 [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-23834
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-23834
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.07 }} 0.01%
score
0.32670
percentile