CVE-2024-56357 Cross-site Scripting vulnerability through custom widget URLs and form redirect URLs in grist-core

High 8.1 Published Updated

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.

Sources

Also known as GHSA-cq5q-cqr7-vmf6.

Is CVE-2024-56357 in your software?

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

Check your SBOMs for free