{"id":"GHSA-xrf4-39fm-j5f2","summary":"Fava time and filter parameters vulnerable to reflected Cross-site Scripting","details":"The time and filter parameters in Fava prior to v1.22 are vulnerable to reflected cross-site scripting due to the lack of escaping of error messages which contained the parameters in verbatim.","aliases":["CVE-2022-2514","PYSEC-2022-239"],"modified":"2026-07-09T16:56:27.633784097Z","published":"2022-07-26T00:01:08Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-08-06T09:34:18Z","nvd_published_at":"2022-07-25T14:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514"},{"type":"WEB","url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xrf4-39fm-j5f2"},{"type":"PACKAGE","url":"https://github.com/beancount/fava"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429"}],"affected":[{"package":{"name":"fava","ecosystem":"PyPI","purl":"pkg:pypi/fava"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22"}]}],"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.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/07/GHSA-xrf4-39fm-j5f2/GHSA-xrf4-39fm-j5f2.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"}]}