Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-25172
HistoryMar 17, 2023 - 4:07 p.m.

CVE-2023-25172 Discourse vulnerable to Cross-site Scripting - user name displayed on post

2023-03-1716:07:27
CWE-79
GitHub_M
www.cve.org
discourse
cross-site scripting
content security policy
version 3.0.1
version 3.1.0.beta2
stable branch
beta branch
tests-passed branch

4.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

5.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

35.8%

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.

CNA Affected

[
  {
    "vendor": "discourse",
    "product": "discourse",
    "versions": [
      {
        "version": "stable < 3.0.1",
        "status": "affected"
      },
      {
        "version": "beta < 3.1.0.beta2",
        "status": "affected"
      },
      {
        "version": "tests-passed < 3.1.0.beta2",
        "status": "affected"
      }
    ]
  }
]

4.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

5.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

35.8%

Related for CVELIST:CVE-2023-25172