CVE-2023-25172CWE-79

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

Medium · published March 17, 2023

CVSS v3.1
4.4
EPSS
1%
Percentile
43.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00527 · 43.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-03-17T16:07Z
EPSS history
Timeline
  • 17 MAR 16:07Z
    Discourse vulnerable to Cross-site Scripting - user name displayed on post
    cvelistv5