Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31059

6.5 · MEDIUM
Published Jun 14, 2022 discourse CWE-79 EPSS 0.74% (52th pctl)

Overview

CVE-2022-31059 is a medium-severity vulnerability affecting discourse discourse_calendar. It was published on June 14, 2022 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from discourse. Update discourse_calendar to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
discourse discourse_calendar >= 0, < 1.0.1 Affected

Frequently Asked Questions

What is CVE-2022-31059?

CVE-2022-31059 is a medium-severity vulnerability affecting discourse discourse_calendar. It was published on June 14, 2022 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2022-31059?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-31059?

Check the references section for vendor advisories and patches from discourse. Update discourse_calendar to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31059?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31059 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.