Discourse Calendar Event names susceptible to Cross-site Scripting

MonitorData theft and tampering over the network by a logged-in user.
6.5MEDIUM

CVE-2022-31059

Key Information:

Vendor

Discourse

CVE ID
CVE ID:
CVE-2022-31059
Vendor
CVE Published:
14 June 2022

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Discourse-calendar. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is 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.

Affected Version(s)

discourse-calendar < 1.0.1

References

Authorization Flaw in Discourse

CVE-2026-44787
DiscourseDiscourse8.2HIGH

HTML Injection Flaw in Discourse Invitation System

CVE-2025-48062
DiscourseDiscourse7.1HIGH
View more Discourse vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
.