Vulnerability · Published Feb 21, 2024 · Assigned by GitHub_M
CVE-2024-26148Querybook's Stored Cross-Site Scripting vulnerability allows Privilege Elevation
Medium 6.1
In plain English
A medium-severity cross-site scripting in querybook from pinterest. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-79 · Vector: 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 x_refsource_CONFIRM
- https://github.com/pinterest/querybook/pull/1412 x_refsource_MISC
- https://github.com/pinterest/querybook/commit/bc620dabaaf13ff1dcb30af0b46a490403fb9908 x_refsource_MISC