{"id":"CVE-2024-36109","state":"PUBLISHED","title":"Cross-site Scripting with Markdown rendering in CoCalc","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.","publishedAt":"2024-05-28T18:40:55.068Z","updatedAt":"2024-08-02T03:30:13.042Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["sagemathinc cocalc"],"affected":[{"vendor":"sagemathinc","product":"cocalc","versions":[{"version":"< 419862a9c9879c","status":"affected"}]}],"references":["https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf","https://github.com/sagemathinc/cocalc/commit/419862a9c9879c"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/36xxx/CVE-2024-36109.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-36109","state":"PUBLISHED","datePublished":"2024-05-28T18:40:55.068Z","dateUpdated":"2024-08-02T03:30:13.042Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-20T21:07:48.186Z"},"containers":{"cna":{"title":"Cross-site Scripting with Markdown rendering in CoCalc","descriptions":[{"lang":"en","value":"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":[{"vendor":"sagemathinc","product":"cocalc","versions":[{"version":"< 419862a9c9879c","status":"affected"}]}],"references":[{"url":"https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf","name":"https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sagemathinc/cocalc/commit/419862a9c9879c","name":"https://github.com/sagemathinc/cocalc/commit/419862a9c9879c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-28T18:40:55.068Z"},"source":{"advisory":"GHSA-8w44-hggw-p5rf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"sagemath","product":"cocalc","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"419862a9c9879c","versionType":"custom"}],"cpes":["cpe:2.3:a:sagemath:cocalc:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-36109","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-29T14:34:13.626490Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:47:59.256Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf","name":"https://github.com/sagemathinc/cocalc/security/advisories/GHSA-8w44-hggw-p5rf","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/sagemathinc/cocalc/commit/419862a9c9879c","name":"https://github.com/sagemathinc/cocalc/commit/419862a9c9879c","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:30:13.042Z"}}]}}}