{"id":"CVE-2022-46151","published":"2022-12-06T00:33:43Z","modified":"2025-04-23T16:32:20Z","title":"Reflected XSS","vendor":"pinterest","product":"querybook","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.41234,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/pinterest/querybook/security/advisories/GHSA-mrrw-9wf7-xq6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pinterest/querybook/commit/88a7f10495bf5ed1a556ade51a2f2794e403c063","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.25},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"pinterest","affectedVersions":[{"vendor":"pinterest","product":"querybook","versions":["< 3.14.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:53:04.786782Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-48986","exploited":false,"provenance":"source"}}