# CVE-2023-43658: Improper escaping of user input in discourse-calendar

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2023-10-16T21:28:57.341Z
- Modified: 2026-06-17T06:26:10.340Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

dicourse-calendar is a plugin for the Discourse messaging platform which adds the ability to create a dynamic calendar in the first post of a topic. Improper escaping of event titles could lead to Cross-site Scripting (XSS) within the 'email preview' UI when a site has CSP disabled. Having CSP disabled is a non-default configuration, so the vast majority of sites are unaffected. This problem is resolved in the latest version of the discourse-calendar plugin. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.

(As written by CVE List.)

## Affected

- discourse discourse-calendar: < 97883109
- discourse discourse_calendar: up to 9d1726fe; up to 2023-10-16

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6> (vendor-advisory)
- <https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de> (patch)
- <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-43658](https://www.cve.org/CVERecord?id=CVE-2023-43658), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2023-43658](https://nvd.nist.gov/vuln/detail/CVE-2023-43658), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-43658 · Whole record: https://cve.day/CVE-2023-43658.json · Rebuilt by cve.day 2026-11-25T22:58:28.835Z
