{"id":"CVE-2022-2514","summary":"Cross-site Scripting (XSS) - Reflected in beancount/fava","details":"The time and filter parameters in Fava prior to v1.22 are vulnerable to reflected XSS due to the lack of escaping of error messages which contained the parameters in verbatim.","aliases":["GHSA-xrf4-39fm-j5f2","PYSEC-2022-239"],"modified":"2026-08-12T03:51:08.908604912Z","published":"2022-07-25T13:42:34Z","database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2514.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2514.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514"},{"type":"FIX","url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/beancount/fava","events":[{"introduced":"0"},{"fixed":"b100959cacbefbfbd180f3c1ee6ed4440311fdb5"},{"fixed":"ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"}],"database_specific":{"cpe":"cpe:2.3:a:fava_project:fava:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.22"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.21","v1.20.1","v1.20","v1.19","v1.18","v1.17","v1.16","v1.15","v1.14","v1.13","v1.12","v1.11","v1.10","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0","v0.3.0","v0.2.6","v0.2.5","v0.2.4","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2514.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}