{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-56359 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-56359 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-56359 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."},"fix_prompt":"Check this codebase for CVE-2024-56359 and fix it if it is affected.\n\nWhat it is: CVE-2024-56359 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.\nExploitation: There is no known exploitation of CVE-2024-56359 in the wild and no public exploit code.\n\nAffected product: gristlabs grist-core. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-56359/ (Markdown: https://insights.sbomify.com/CVE-2024-56359/index.md)","id":"CVE-2024-56359","markdown":"https://insights.sbomify.com/CVE-2024-56359/index.md","name":"CVE-2024-56359","record":{"aliases":["GHSA-qv69-5cj2-53r9"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Grist spreadsheet server","requires_auth":"none","summary":"Attackers can compromise user accounts via malicious javascript links in HyperLink cells when clicked with a control modifier.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"grist-core","vendor":"getgrist"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"grist-core is a spreadsheet hosting server. A user visiting a malicious document and clicking on a link in a HyperLink cell using a control modifier (meaning for example Ctrl+click) could have their account compromised, since the link could use the javascript: scheme and 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 clicking on HyperLink cell links using a control modifier in documents prepared by people they do not trust.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cross-site Scripting vulnerability through HyperLink cells in grist-core","id":"CVE-2024-56359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Stored Cross-Site Scripting (XSS) in lgsl v7.0","id":"CVE-2024-56361"},"packages":[],"prev":{"headline":"Cross-site Scripting vulnerability through svg attachment previews in grist-core","id":"CVE-2024-56358"},"products":["grist-core"],"published":"2024-12-20","related":[{"cvss_score":9.1,"headline":"pyodide sandbox option is insecure","id":"CVE-2026-24002","kev_date_added":null,"published":"2026-01-22"},{"cvss_score":8.1,"headline":"Cross-site Scripting vulnerability through custom widget URLs and form redirect URLs in grist-core","id":"CVE-2024-56357","kev_date_added":null,"published":"2024-12-20"},{"cvss_score":8.1,"headline":"Cross-site Scripting vulnerability through svg attachment previews in grist-core","id":"CVE-2024-56358","kev_date_added":null,"published":"2024-12-20"},{"cvss_score":6.8,"headline":"grist-core has path to server-side requests via websocket","id":"CVE-2025-64752","kev_date_added":null,"published":"2025-11-13"},{"cvss_score":5.3,"headline":"grist-core has insufficient access control in endpoints for comparisons between documents and versions","id":"CVE-2025-64753","kev_date_added":null,"published":"2025-11-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-24","vendors":["gristlabs"]},"summary":"Attackers can compromise user accounts via malicious javascript links in HyperLink cells when clicked with a control modifier.","url":"https://insights.sbomify.com/CVE-2024-56359/"}