{"id":"CVE-2022-2514","aliases":["GHSA-xrf4-39fm-j5f2","PYSEC-2022-239"],"title":"Fava time and filter parameters vulnerable to reflected Cross-site Scripting","summary":"Fava time and filter parameters vulnerable to reflected Cross-site Scripting","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","vendor":"fava","product":"fava","ecosystem":"pip","affected":["fava < 1.22"],"patched":["fava 1.22"],"published":"2022-07-26","updated":"2026-07-09","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-xrf4-39fm-j5f2","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514"},{"url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"},{"url":"https://github.com/advisories/GHSA-xrf4-39fm-j5f2"},{"url":"https://github.com/beancount/fava"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml"},{"url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429"}],"tags":["osv","pip"],"epss":0.00849,"epssPercentile":0.56593,"ingestedAt":"2026-07-09T18:56:35.301Z","slug":"CVE-2022-2514","body":"## Overview\n\nThe 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.\n\n## Affected packages\n\n- `fava < 1.22`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `fava 1.22`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}