Discourse Calendar Event names susceptible to Cross-site Scripting
CVE-2022-31059
Key Information:
- Vendor
Discourse
- Status
- 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
More Discourse Vulnerabilities
Authorization Flaw in Discourse
HTML Injection Flaw in Discourse Invitation System
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction