XSS in Discourse Discourse-Calendar

CVE-2022-31059

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.007 (49.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-31059?
CVE-2022-31059 is a medium-severity vulnerability in Discourse Discourse-Calendar, classified under Cross-site Scripting. CVSS score: 6.5/10. Published 2022-06-14.
How severe is CVE-2022-31059?
Medium severity. CVSS v3 base score is 6.5 out of 10.