{"id":"GHSA-q8hg-3vqv-f8v3","summary":"Fava vulnerable to Reflected Cross-site Scripting","details":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.\nThe `query_string` parameter of Fava is vulnerable to reflected cross-site scripting, for which a attacker can modify any information that the user is able to modify. This issue is fixed in version 1.22.2.","aliases":["CVE-2022-2523","PYSEC-2022-240"],"modified":"2024-09-20T17:46:46.926886Z","published":"2022-07-26T00:01:08Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-08-06T09:34:38Z","nvd_published_at":"2022-07-25T14:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2523"},{"type":"WEB","url":"https://github.com/beancount/fava/commit/dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q8hg-3vqv-f8v3"},{"type":"PACKAGE","url":"https://github.com/beancount/fava"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-240.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/2a1802d8-1c2e-4919-96a7-d4dcf7ffcf8f"}],"affected":[{"package":{"name":"fava","ecosystem":"PyPI","purl":"pkg:pypi/fava"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.2"}]}],"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.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-q8hg-3vqv-f8v3/GHSA-q8hg-3vqv-f8v3.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"}]}