What’s Vulnerable › Vulnerabilities
CVE-2024-56358: Cross-site Scripting vulnerability through svg attachment previews in grist-core
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-20 · updated 2026-06-17
- Weakness: CWE-79
Description
grist-core is a spreadsheet hosting server. A user visiting a malicious document and previewing an attachment could have their account compromised, because JavaScript in an SVG file would be evaluated in the context of their current page. This issue has been patched in version 1.3.2. Users are advised to upgrade. Users unable to upgrade should avoid previewing attachments in documents prepared by people they do not trust.
Affected products
- gristlabs grist-core: before 1.3.2 — fixed in 1.3.2
How to fix
Upgrade to a fixed version: gristlabs grist-core 1.3.2. Check the vendor advisory for mitigations.
References
- https://github.com/gristlabs/grist-core/commit/a792bdc43b456dbdd6fdc50d8747f4c349fab2f4
- https://github.com/gristlabs/grist-core/security/advisories/GHSA-jvfm-gf4f-33q3
Get alerted when CVE-2024-56358 or the next vulnerability affects your stack