CVE-2022-46151

Medium

Description

Querybook is an open source data querying UI. In affected versions user provided data is not escaped in the error field of the auth callback url in `querybook/server/app/auth/oauth_auth.py` and `querybook/server/app/auth/okta_auth.py`. This may allow attackers to perform reflected cross site scripting (XSS) if Content Security Policy (CSP) is not enabled or `unsafe-inline` is allowed. Users are advised to upgrade to the latest, patched version of querybook (version 3.14.2 or greater). Users unable to upgrade may enable CSP and not allow unsafe-inline or manually escape query parameters in a reverse proxy.

SeverityMedium
CVSS6.3
Exploit probability—
ProductPinterest Querybook
PublishedDec 6, 2022
First seenDec 6, 2022

How to fix

Update
  • pinterest querybook3.14.2 or later

Affected products

ProductAffected versionsFixed in
pinterest querybookv < 3.14.23.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.