{"id":"CVE-2022-2589","aliases":["DEBIAN-CVE-2022-2589","EUVD-2022-0102","GHSA-6hcj-qrw3-m66q","PYSEC-2022-246","UBUNTU-CVE-2022-2589"],"status":"published","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","severity":{"version":"3.0","score":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00752,"percentile":0.55308,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-08-01T14:12:23Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"PyPI","package":"fava","fixed_in":["1.22.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.3"}]}]},{"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.3"}]}],"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.22.2","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":"68bbb6e39319deb35ab9f18d0b6aa9fa70472539"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.3"}]}],"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.22.2","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/8705800d-cf2f-433d-9c3e-dbef6a3f7e08","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web","report"]},{"url":"https://github.com/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2589","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-246.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6hcj-qrw3-m66q","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2589.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2589","tags":["advisory"]},{"url":"https://github.com/beancount/fava","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2589","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2589","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2589","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T14:12:23Z","modified":"2024-08-03T00:39:08.261Z","cvss":[{"version":"3.0","score":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-0102","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T14:12:23Z","modified":"2024-08-03T00:39:08Z","cvss":[{"version":"3.0","score":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:57.932023Z"}],"ghsa":[{"id":"GHSA-6hcj-qrw3-m66q","title":"Fava vulnerable to reflected cross-site scripting","description":"Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.","status":"published","published":"2022-08-02T00:00:25Z","modified":"2024-09-20T17:33:18Z","cvss":[{"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"},{"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"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:04.690827Z"}],"nvd":[{"id":"CVE-2022-2589","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T15:15:09.583Z","modified":"2026-06-17T04:42:10.387Z","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":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:24.39467Z"}],"osv":[{"id":"CVE-2022-2589","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T14:12:23Z","modified":"2026-10-28T02:30:54.24086084Z","cvss":[{"version":"3.0","score":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"DEBIAN-CVE-2022-2589","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T15:15:09.583Z","modified":"2026-08-27T23:04:20.204556093Z","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-6hcj-qrw3-m66q","title":"Fava vulnerable to reflected cross-site scripting","description":"Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.","status":"published","published":"2022-08-02T00:00:25Z","modified":"2024-09-20T17:49:16.459741Z","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:46:39.618611Z"},{"id":"UBUNTU-CVE-2022-2589","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T15:15:00Z","modified":"2026-10-17T12:56:02.349997104Z","cvss":[{"version":"3.0","score":6.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","level":"medium"},{"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-246","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","status":"published","published":"2022-08-01T15:15:00Z","modified":"2023-11-08T04:08:50.835388Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
