Skip to content

XSS through tag descriptions

Moderate
jomaxro published GHSA-5rq6-466r-6mr9 Jan 5, 2023

Package

No package listed

Affected versions

stable <= 2.8.13; beta <= 3.0.0.beta15; tests-passed <= 3.0.0.beta15

Patched versions

stable >= 2.8.14; beta >= 3.0.0.beta16; tests-passed >= 3.0.0.beta16

Description

Impact

Tag descriptions, which can be updated by moderators, can be used for XSS attacks.

Patches

This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

Workarounds

This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy.

Severity

Moderate
6.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

CVE ID

CVE-2023-22455

Weaknesses