{"id":"CVE-2022-2514","published":"2022-07-25T13:42:34Z","modified":"2024-08-03T00:39:08Z","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","vendor":"beancount","product":"beancount/fava","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00874,"percentile":0.59813,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":11.96},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"beancount","affectedVersions":[{"vendor":"beancount","product":"beancount/fava","versions":[">= unspecified, < 1.22"]}],"affected":[{"ecosystem":"PyPI","package":"fava","vulnerableRanges":["<1.22"],"patched":["1.22"],"from":["GHSA-xrf4-39fm-j5f2","PYSEC-2022-239"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw exists in the time and filter parameters of Fava, the web interface for beancount, in versions prior to v1.22, where error messages echo these parameters back without escaping them. An attacker could exploit this over the network with no prior authentication, but only if a victim is induced to interact with a crafted link, and the attack requires a high-complexity condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:15Z"},"euvd":{"id":"EUVD-2022-0100","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-2514","published":"2022-07-25","fixed":"1.22","kev":false},{"cve":"CVE-2022-2523","published":"2022-07-25","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2022-2514","to":"CVE-2022-2523","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:fava","fromFixed":"1.22","toFixed":"1.22.2","daysApart":0},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2022-2589","published":"2022-08-01","fixed":"1.22.3","kev":false}],"package":"PyPI:fava"}}