What’s Vulnerable › Vulnerabilities
CVE-2024-36109: Cross-site Scripting with Markdown rendering in CoCalc
- Severity: high (CVSS 7.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-28 · updated 2026-06-17
- Weakness: CWE-79
Description
CoCalc is web-based software that enables collaboration in research, teaching, and scientific publishing. In affected versions the markdown parser allows `<script>` tags to be included which execute when published. This issue has been addressed in commit `419862a9c9879c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- Sagemath Cocalc: before 419862a9c9879c — fixed in 419862a9c9879c
How to fix
Upgrade to a fixed version: Sagemath Cocalc 419862a9c9879c. Check the vendor advisory for mitigations.
References
- https://github.com/sagemathinc/cocalc/commit/419862a9c9879c
- https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf
- https://github.com/sagemathinc/cocalc/commit/419862a9c9879c
- https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf
Get alerted when CVE-2024-36109 or the next vulnerability affects your stack