CVE-2022-31059 MEDIUM

CVE-2022-31059: Discourse Calendar Event names susceptible to Cross-site Scripting

Vendor Discourse
Product discourse-calendar
Weakness CWE-79 · XSS
Published June 14, 2022
Last update April 23, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

Discourse Calendar is a calendar plugin for Discourse, an open-source messaging app. Prior to version 1.0.1, parsing and rendering of Event names can be susceptible to cross-site scripting (XSS) attacks. This vulnerability only affects sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in version 1.0.1 of the Discourse Calendar plugin. As a workaround, ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.

Key dates

02Disclosure timeline

June 14, 2022 CVE published
April 23, 2025 Record updated