What’s Vulnerable › Vulnerabilities

CVE-2024-27103: Querybook Stored Cross-Site Scripting allows Privilege Elevation

Description

Querybook is a Big Data Querying UI. When a user searches for their queries, datadocs, tables and lists, the search result is marked and highlighted, and this feature uses dangerouslySetInnerHTML which means that if the highlighted result has an XSS payload it will trigger. While the input to dangerouslySetInnerHTML is not sanitized for the data inside of queries which leads to an XSS vulnerability. During the "query auto-suggestion" the name of the suggested tables are set with innerHTML which leads to the XSS vulnerability. A patch to rectify this issue has been introduced in Querybook version 3.31.2.

Affected products

How to fix

Upgrade to a fixed version: pinterest querybook 3.31.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27103 or the next vulnerability affects your stack