XSS in Pinterest Querybook
CVE-2022-46151
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.004 (35.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 35.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Pinterest Querybook — versions < 3.14.2
Weakness classification (CWE)
References
- github.com/pinterest/querybook/security/advisories/GHSA-mrrw-9wf7-xq6w (Third Party Advisory, Mitigation)
- github.com/pinterest/querybook/commit/88a7f10495bf5ed1a556ade51a2f2794e403c063 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-46151?
- CVE-2022-46151 is a medium-severity vulnerability in Pinterest Querybook, classified under Cross-site Scripting. CVSS score: 6.3/10. Published 2022-12-06.
- How severe is CVE-2022-46151?
- Medium severity. CVSS v3 base score is 6.3 out of 10.