What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Discourse Calendar 1.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31059 or the next vulnerability affects your stack