{"id":"CVE-2022-2514","aliases":["DEBIAN-CVE-2022-2514","EUVD-2022-0100","GHSA-xrf4-39fm-j5f2","PYSEC-2022-239","PYSEC-2022-43182","UBUNTU-CVE-2022-2514"],"status":"published","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"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.","severity":{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00874,"percentile":0.59199,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-07-25T13:42:34Z","modified":"2026-10-28T02:30:31Z","fixes":[{"ecosystem":"PyPI","package":"fava","fixed_in":["1.22"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18-1","1.20.1-1","1.20.1-2","1.23.1+dfsg-1","1.23.1-1","1.30.2+dfsg-1"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"fava","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"}]},{"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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10-2","1.11-1","1.14-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18-1","1.20.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2+dfsg-1"]}],"products":[{"vendor":"beancount","product":"beancount/fava"},{"vendor":"fava_project","product":"fava"}],"references":[{"url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web","fix","report"]},{"url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xrf4-39fm-j5f2","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2514.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2514","tags":["advisory"]},{"url":"https://github.com/beancount/fava","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2514","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2514","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2514","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"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.","status":"published","published":"2022-07-25T13:42:34Z","modified":"2024-08-03T00:39:08.013Z","cvss":[{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:32.156873Z"}],"euvd":[{"id":"EUVD-2022-0100","description":"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.","status":"published","published":"2022-07-25T13:42:34Z","modified":"2024-08-03T00:39:08Z","cvss":[{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:57.932023Z"}],"ghsa":[{"id":"GHSA-xrf4-39fm-j5f2","title":"Fava time and filter parameters vulnerable to reflected Cross-site Scripting","description":"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.","status":"published","published":"2022-07-26T00:01:08Z","modified":"2026-05-19T20:20:26Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:40:12.430932Z"}],"nvd":[{"id":"CVE-2022-2514","description":"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.","status":"published","published":"2022-07-25T14:15:10.873Z","modified":"2026-06-17T04:42:02.42Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:24.037422Z"}],"osv":[{"id":"CVE-2022-2514","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"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.","status":"published","published":"2022-07-25T13:42:34Z","modified":"2026-10-28T02:30:31.997101219Z","cvss":[{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"DEBIAN-CVE-2022-2514","description":"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.","status":"published","published":"2022-07-25T14:15:10.873Z","modified":"2026-08-27T23:04:20.007843213Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:36.969609Z"},{"id":"GHSA-xrf4-39fm-j5f2","title":"Fava time and filter parameters vulnerable to reflected Cross-site Scripting","description":"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.","status":"published","published":"2022-07-26T00:01:08Z","modified":"2026-07-09T16:56:27.633784097Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"PYSEC-2022-43182","description":"Withdrawn as duplicate of PYSEC-2022-239. 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.","status":"withdrawn","published":"2022-07-25T14:15:10.873Z","modified":"2026-07-09T16:45:04.84118098Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:53.837392Z"},{"id":"UBUNTU-CVE-2022-2514","description":"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.","status":"published","published":"2022-07-25T14:15:00Z","modified":"2026-10-17T12:55:57.347887346Z","cvss":[{"version":"3.0","score":8,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"PYSEC-2022-239","description":"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.","status":"published","published":"2022-07-25T14:15:00Z","modified":"2026-07-09T16:56:27.633784097Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
