{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-46151","published":"2022-12-06T01:15:09.813000Z","last_modified":"2026-06-17T05:11:18.690000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:pinterest:querybook:*:*:*:*:*:*:*:*","part":"a","vendor":"pinterest","product":"querybook","version_end_excluding":"3.14.2"}],"cpes_truncated":false,"vendors":["pinterest"],"products":["pinterest/querybook"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00561,"percentile":0.40419,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-46151/","html_en":"/en/cve/CVE-2022-46151/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46151","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46151"},"untrusted":{"vendor_name":"Pinterest","product_name":"Querybook","desc_en":"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.","affected":[{"untrusted_vendor":"pinterest","untrusted_product":"querybook","versions":[]}],"references":[{"url":"https://github.com/pinterest/querybook/commit/88a7f10495bf5ed1a556ade51a2f2794e403c063","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/pinterest/querybook/security/advisories/GHSA-mrrw-9wf7-xq6w","tags":["Mitigation","Third Party Advisory"]}]}}