CVE-2024-56357 Cross-site Scripting vulnerability through custom widget URLs and form redirect URLs in grist-core
Attackers can compromise user accounts via malicious documents or forms using javascript: URLs in custom widgets or redirects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-56357?
CVE-2024-56357 is a high-severity cross-site scripting vulnerability in gristlabs grist-core, published on 20 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
grist-core is a spreadsheet hosting server. A user visiting a malicious document or submitting a malicious form could have their account compromised, because it was possible to use the `javascript:` scheme with custom widget URLs and form redirect URLs. This issue has been patched in version 1.3.1. Users are advised to upgrade. Users unable to upgrade should avoid visiting documents or forms prepared by people they do not trust.
Weakness: CWE-79
Which versions are affected by CVE-2024-56357?
It affects 1 product.
Products include Getgrist Grist-Core.
How do I fix CVE-2024-56357?
No fix has been published for CVE-2024-56357 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-56357 being exploited?
There is no known exploitation of CVE-2024-56357 in the wild and no public exploit code.
Other vulnerabilities in gristlabs grist-core
- CVE-2026-24002 pyodide sandbox option is insecure
- CVE-2024-56358 Cross-site Scripting vulnerability through svg attachment previews in grist-core
- CVE-2024-56359 Cross-site Scripting vulnerability through HyperLink cells in grist-core
- CVE-2025-64752 grist-core has path to server-side requests via websocket
- CVE-2025-64753 grist-core has insufficient access control in endpoints for comparisons between documents and versions
Sources
Also known as GHSA-cq5q-cqr7-vmf6.