CVE-2024-36109 Cross-site Scripting with Markdown rendering in CoCalc

High 7.6 Published Updated

Attackers can inject malicious scripts via markdown rendering in CoCalc, potentially executing code or stealing user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-36109?

CVE-2024-36109 is a high-severity cross-site scripting vulnerability in sagemathinc cocalc, published on 28 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2024-36109?

How do I fix CVE-2024-36109?

No fix has been published for CVE-2024-36109 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-36109 being exploited?

There is no known exploitation of CVE-2024-36109 in the wild and no public exploit code.

Sources

Also known as GHSA-8w44-hggw-p5rf.

Is CVE-2024-36109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free