5.4
MEDIUM
CVE-2023-25172
Discourse Unvalidated Input Cross-Site Scripting Vulnerability
Description

Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, a maliciously crafted URL can be included in a user's full name field to to carry out cross-site scripting attacks on sites with a disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. The vulnerability is patched in version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches. As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse.

INFO

Published Date :

March 17, 2023, 5:15 p.m.

Last Modified :

March 23, 2023, 8:40 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2023-25172 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
References to Advisories, Solutions, and Tools

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-2023-25172 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-25172 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]

    Mar. 23, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915 No Types Assigned https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915 Patch
    Changed Reference Type https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a No Types Assigned https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a Patch
    Changed Reference Type https://github.com/discourse/discourse/pull/20008 No Types Assigned https://github.com/discourse/discourse/pull/20008 Patch
    Changed Reference Type https://github.com/discourse/discourse/pull/20009 No Types Assigned https://github.com/discourse/discourse/pull/20009 Patch
    Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (excluding) 3.0.1 *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.1.0 *cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*
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.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-25172 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-2023-25172 weaknesses.

Exploit Prediction

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

0.08 }} -0.00%

score

0.35511

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability