{"id":"CVE-2024-26148","summary":"Querybook's Stored Cross-Site Scripting vulnerability allows Privilege Elevation","details":"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.","aliases":["GHSA-fh6g-gvvp-587f"],"modified":"2026-08-12T03:51:40.386598694Z","published":"2024-02-21T22:35:17.041Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26148.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26148.json"},{"type":"ADVISORY","url":"https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26148"},{"type":"FIX","url":"https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908"},{"type":"FIX","url":"https://github.com/pinterest/querybook/pull/1412"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pinterest/querybook","events":[{"introduced":"0"},{"fixed":"bc620dabaaf13ff1dcb30af0b46a490403fb9908"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.31.1"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:pinterest:querybook:*:*:*:*:*:*:*:*"}}],"versions":["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-26148.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}