Skip to content
Heist/ feed
Back to feed
Medium

Cross-site websocket hijacking in Querybook

Type: advisorySources: OSV

Querybook is a Big Data Querying UI, combining collocated table metadata and a simple notebook interface. Querybook's datadocs functionality works by using a Websocket Server. The client talks to this WSS whenever updating/deleting/reading any cells as well as for watching the live status of query executions. Currently the CORS setting allows all origins, which could result in cross-site websocket hijacking and allow attackers to read/edit/remove datadocs of the user. This issue has been addressed in version 3.32.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-28251
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:10 UTC · Revision 1

Source evidence

Cross-site websocket hijacking in Querybook

core-osv · Original source

Published 13 Mar 2024, 23:21 UTC

Querybook is a Big Data Querying UI, combining collocated table metadata and a simple notebook interface. Querybook's datadocs functionality works by using a Websocket Server. The client talks to this WSS whenever updating/deleting/reading any cells as well as for watching the live status of query executions. Currently the CORS setting allows all origins, which could result in cross-site websocket hijacking and allow attackers to read/edit/remove datadocs of the user. This issue has been addressed in version 3.32.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:CVE-2024-28251
Complete source record
{
  "id": "8adf96e4d9fb1d4e361cec0e9c1cb5fd5edf8b858e8966920fcd9f84b8f21fef",
  "url": "https://osv.dev/vulnerability/CVE-2024-28251",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-site websocket hijacking in Querybook",
    "summary": "Querybook is a Big Data Querying UI, combining collocated table metadata and a simple notebook interface. Querybook's datadocs functionality works by using a Websocket Server. The client talks to this WSS whenever updating/deleting/reading any cells as well as for watching the live status of query executions. Currently the CORS setting allows all origins, which could result in cross-site websocket hijacking and allow attackers to read/edit/remove datadocs of the user. This issue has been addressed in version 3.32.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:CVE-2024-28251",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-28251",
      "aliases": [
        "CVE-2024-28251",
        "GHSA-5349-j4c9-x767"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pinterest/querybook",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3e992eea99411a75aeb6eb41fe60100b0e6afb59"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.32.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:pinterest:querybook:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.32.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.31.2",
            "v3.31.1",
            "v3.28.0",
            "v3.14.2",
            "v2.4.0",
            "v2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28251.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.134532952Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28251.json",
        "https://github.com/pinterest/querybook/security/advisories/GHSA-5349-j4c9-x767",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-28251",
        "https://github.com/pinterest/querybook/pull/1425"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-345"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28251.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-28251",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521655,
  "published_at": "2024-03-13T23:21:28.115+00:00"
}