# CVE-2024-56358: Cross-site Scripting vulnerability through svg attachment previews in grist-core

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-12-20T20:24:53.932Z
- Modified: 2026-06-17T08:12:06.453Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- gristlabs grist-core: < 1.3.2
- getgrist grist-core: before 1.3.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/gristlabs/grist-core/security/advisories/GHSA-jvfm-gf4f-33q3> (vendor-advisory)
- <https://github.com/gristlabs/grist-core/commit/a792bdc43b456dbdd6fdc50d8747f4c349fab2f4> (patch)

## Sources

- CVE List: [CVE-2024-56358](https://www.cve.org/CVERecord?id=CVE-2024-56358), CVE Terms of Use, modified 2024-12-24
- NVD: [CVE-2024-56358](https://nvd.nist.gov/vuln/detail/CVE-2024-56358), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56358 · Whole record: https://cve.day/CVE-2024-56358.json · Rebuilt by cve.day 2026-11-25T22:58:50.304Z
