CVE-2023-43657CWE-79

Improper escaping of encrypted topic titles can lead to Cross-site Scripting under non-default site configuration

High · published September 28, 2023

CVSS v3.1
7.2
EPSS
1%
Percentile
47.3
In the wild
Unconfirmed
What it is

discourse-encrypt is a plugin that provides a secure communication channel through Discourse. Improper escaping of encrypted topic titles could lead to a cross site scripting (XSS) issue when a site has content security policy (CSP) headers disabled. Having CSP disabled is a non-default configuration, and having it disabled with discourse-encrypt installed will result in a warning in the Discourse admin dashboard. This has been fixed in commit `9c75810af9` which is included in the latest version of the discourse-encrypt plugin. Users are advised to upgrade. Users unable to upgrade should ensure that CSP headers are enabled and properly configured.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00587 · 47.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-09-28T18:04Z
EPSS history
Timeline
  • 28 SEP 18:04Z
    Improper escaping of encrypted topic titles can lead to Cross-site Scripting under non-default site configuration
    cvelistv5