# CVE-2024-26148: Querybook's Stored Cross-Site Scripting vulnerability allows Privilege Elevation

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-02-21T22:35:17.041Z
- Modified: 2026-06-17T07:17:12.020Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Querybook is a user interface for querying big data. Prior to version 3.31.1, there is a vulnerability in Querybook's rich text editor that enables users to input arbitrary URLs without undergoing necessary validation. This particular security flaw allows the use of `javascript:` protocol which can potentially trigger arbitrary client-side execution. The most extreme exploit of this flaw could occur when an admin user unknowingly clicks on a cross-site scripting URL, thereby unintentionally compromising admin role access to the attacker. A patch to rectify this issue has been introduced in Querybook version `3.31.1`. The fix is backward compatible and automatically fixes existing DataDocs. There are no known workarounds for this issue, except for manually checking each URL prior to clicking on them.

(As written by CVE List.)

## Affected

- pinterest querybook: < 3.31.1; before 3.31.1

## Every score

- GitHub_M: 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`
- 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/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f> (patch, vendor-advisory)
- <https://github.com/pinterest/querybook/pull/1412> (issue-tracking, patch)
- <https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908> (patch)

## Sources

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

---

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