6.3
MEDIUM CVSS 3.1
CVE-2024-23834
Discourse improperly sanitized user input leads to XSS
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 :

Nov. 21, 2024, 8:58 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-23834 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Discourse discourse
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
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.

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000
    Added Reference https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc
    Added Reference https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094
    Added Reference https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093
  • 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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.39 }} 0.09%

score

0.59630

percentile