{"id":"GHSA-6hcj-qrw3-m66q","summary":"Fava vulnerable to reflected cross-site scripting","details":"Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.","aliases":["CVE-2022-2589","PYSEC-2022-246"],"modified":"2024-09-20T17:46:32.951801Z","published":"2022-08-02T00:00:25Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-08-10T15:57:45Z","nvd_published_at":"2022-08-01T15:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2589"},{"type":"WEB","url":"https://github.com/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6hcj-qrw3-m66q"},{"type":"PACKAGE","url":"https://github.com/beancount/fava"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-246.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08"}],"affected":[{"package":{"name":"fava","ecosystem":"PyPI","purl":"pkg:pypi/fava"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.3"}]}],"versions":["0.0.0","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.20.1","1.21","1.22","1.22.1","1.22.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-6hcj-qrw3-m66q/GHSA-6hcj-qrw3-m66q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}