{"id":"CVE-2024-26148","state":"PUBLISHED","title":"Querybook's Stored Cross-Site Scripting vulnerability allows Privilege Elevation","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.","publishedAt":"2024-02-21T22:35:17.041Z","updatedAt":"2024-08-22T13:27:05.633Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pinterest querybook"],"affected":[{"vendor":"pinterest","product":"querybook","versions":[{"version":"< 3.31.1","status":"affected"}]}],"references":["https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f","https://github.com/pinterest/querybook/pull/1412","https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26148.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-26148","state":"PUBLISHED","datePublished":"2024-02-21T22:35:17.041Z","dateUpdated":"2024-08-22T13:27:05.633Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-14T17:40:03.689Z"},"containers":{"cna":{"title":"Querybook's Stored Cross-Site Scripting vulnerability allows Privilege Elevation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pinterest","product":"querybook","versions":[{"version":"< 3.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f","name":"https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pinterest/querybook/pull/1412","name":"https://github.com/pinterest/querybook/pull/1412","tags":["x_refsource_MISC"]},{"url":"https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908","name":"https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-21T22:35:17.041Z"},"source":{"advisory":"GHSA-fh6g-gvvp-587f","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f","name":"https://github.com/pinterest/querybook/security/advisories/GHSA-fh6g-gvvp-587f","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/pinterest/querybook/pull/1412","name":"https://github.com/pinterest/querybook/pull/1412","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908","name":"https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:59:32.705Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"pinterest","product":"querybook","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.31.1","versionType":"custom"}],"cpes":["cpe:2.3:a:pinterest:querybook:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-22T16:57:39.408863Z","id":"CVE-2024-26148","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-22T13:27:05.633Z"}}]}}}