Skip to content
Heist/ feed
Back to feed
High

DOM-based XSS in Grist via unsanitized links, enabling privilege escalation

Type: advisorySources: OSV

Grist is spreadsheet software using Python as its formula language. Prior to 1.7.15, Grist contained two cross-site scripting vulnerabilities where an attacker-controlled value reached a link's href without scheme validation, so a javascript URL could run in a victim's Grist origin on a single click. On the account-selection page, /welcome/select-account used its next query parameter as the account buttons' link target. In document tours, the GristDocTour table's Link_URL column became a clickable button, allowing an editor of a shared document to store a javascript URL there that ran when another user opened the document and clicked the tour link. Because the script runs in the victim's authenticated session, it can call Grist APIs as the victim, reading or modifying data and changing sharing settings and access rules. A document editor could therefore escalate to owner-level access. This issue is fixed in version 1.7.15.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55665
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:25 UTC · Revision 1

Source evidence

DOM-based XSS in Grist via unsanitized links, enabling privilege escalation

core-osv · Original source

Published 10 Jul 2026, 20:58 UTC

Grist is spreadsheet software using Python as its formula language. Prior to 1.7.15, Grist contained two cross-site scripting vulnerabilities where an attacker-controlled value reached a link's href without scheme validation, so a javascript URL could run in a victim's Grist origin on a single click. On the account-selection page, /welcome/select-account used its next query parameter as the account buttons' link target. In document tours, the GristDocTour table's Link_URL column became a clickable button, allowing an editor of a shared document to store a javascript URL there that ran when another user opened the document and clicked the tour link. Because the script runs in the victim's authenticated session, it can call Grist APIs as the victim, reading or modifying data and changing sharing settings and access rules. A document editor could therefore escalate to owner-level access. This issue is fixed in version 1.7.15.

osv:CVE-2026-55665
Complete source record
{
  "id": "37bfc5a2bfec0a26ab4bbda279e7c8e80a69f99cc716751230deb650fbac0ef3",
  "url": "https://osv.dev/vulnerability/CVE-2026-55665",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DOM-based XSS in Grist via unsanitized links, enabling privilege escalation",
    "summary": "Grist is spreadsheet software using Python as its formula language. Prior to 1.7.15, Grist contained two cross-site scripting vulnerabilities where an attacker-controlled value reached a link's href without scheme validation, so a javascript URL could run in a victim's Grist origin on a single click. On the account-selection page, /welcome/select-account used its next query parameter as the account buttons' link target. In document tours, the GristDocTour table's Link_URL column became a clickable button, allowing an editor of a shared document to store a javascript URL there that ran when another user opened the document and clicked the tour link. Because the script runs in the victim's authenticated session, it can call Grist APIs as the victim, reading or modifying data and changing sharing settings and access rules. A document editor could therefore escalate to owner-level access. This issue is fixed in version 1.7.15.",
    "evidence": "osv:CVE-2026-55665",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-55665",
      "aliases": [
        "CVE-2026-55665",
        "GHSA-7f6v-vghq-34xq"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gristlabs/grist-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "60447668552eb71de10dc0bf5c71379567e51653"
                },
                {
                  "fixed": "5d0a90a162b5125fce7e8a86fb137eee5199dbde"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5d0a90a162b5125fce7e8a86fb137eee5199dbde"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "60447668552eb71de10dc0bf5c71379567e51653"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.7.15"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.1",
            "1.3.2",
            "v1.3.1",
            "1.3.1",
            "v1.3.0",
            "v1.1.16",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55665.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.373108789Z",
      "provider": "osv",
      "references": [
        "https://github.com/gristlabs/grist-core/releases/tag/v1.7.15",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55665.json",
        "https://github.com/gristlabs/grist-core/security/advisories/GHSA-7f6v-vghq-34xq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55665",
        "https://github.com/gristlabs/grist-core/commit/5d0a90a162b5125fce7e8a86fb137eee5199dbde"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55665.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55665",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495331,
  "published_at": "2026-07-10T20:58:24.755+00:00"
}