6.5medium
Discourse Calendar Event names susceptible to Cross-site Scripting
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.77% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse-calendar | < 1.0.1 | CVE List |
| discourse discourse_calendar | before 1.0.1 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.1low CVSS:2.0 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Discourse Calendar es un plugin de calendario para Discourse, una aplicación de mensajería de código abierto. En versiones anteriores a 1.0.1, el análisis y la representación de los nombres de los eventos pueden ser susceptibles de ataques de tipo cross-site scripting (XSS). Esta vulnerabilidad sólo afecta a sitios que han modificado o deshabilitado la Política de Seguridad de Contenidos por defecto de Discourse. Este problema está parcheado en versión 1.0.1 del plugin Calendario de Discourse. Como mitigación, asegúrese de que la política de seguridad de contenidos está habilitada y no ha sido modificada de forma que sea más vulnerable a ataques de tipo XSS
References
| https://github.com/discourse/discourse-calendar/security/advisories/GHSA-c783-x9vm-xxp5 | third-party-advisory | |
| https://github.com/discourse/discourse-calendar/pull/280 | issue-tracking, patch, third-party-advisory | |
| https://github.com/discourse/discourse-calendar/commit/2719b9e81994e961bf8c4e12b4556dc9777dd62f | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31059 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-31059 changed 2026-06-17 | Public domain |