CVE-2024-27103 Querybook Stored Cross-Site Scripting allows Privilege Elevation
Attackers can inject malicious scripts via search results or auto-suggestions in Querybook, leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-27103?
CVE-2024-27103 is a medium-severity cross-site scripting vulnerability in pinterest querybook, published on 28 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-27103?
It affects 1 product.
Products include Pinterest Querybook.
How do I fix CVE-2024-27103?
No fix has been published for CVE-2024-27103 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-27103 being exploited?
There is no known exploitation of CVE-2024-27103 in the wild and no public exploit code.
Other vulnerabilities in pinterest querybook
Sources
Also known as GHSA-3hjm-9277-5c88.