{"id":"CVE-2022-2523","aliases":["DEBIAN-CVE-2022-2523","EUVD-2022-0101","GHSA-q8hg-3vqv-f8v3","PYSEC-2022-240","UBUNTU-CVE-2022-2523"],"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.2.","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.00867,"percentile":0.58971,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-07-25T13:43:39Z","modified":"2026-10-28T02:31:13Z","fixes":[{"ecosystem":"PyPI","package":"fava","fixed_in":["1.22.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"fava","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.2"}]}]},{"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.2"}]}],"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.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":"dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.2"}]}],"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.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/2a1802d8-1c2e-4919-96a7-d4dcf7ffcf8f","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web","report"]},{"url":"https://github.com/beancount/fava/commit/dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2523","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-240.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q8hg-3vqv-f8v3","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2523.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2523","tags":["advisory"]},{"url":"https://github.com/beancount/fava","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2523","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2523","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2523","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T13:43:39Z","modified":"2024-08-03T00:39:08.063Z","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.495407Z"}],"euvd":[{"id":"EUVD-2022-0101","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T13:43:39Z","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-q8hg-3vqv-f8v3","title":"Fava vulnerable to Reflected Cross-site Scripting","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.\nThe `query_string` parameter of Fava is vulnerable to reflected cross-site scripting, for which a attacker can modify any information that the user is able to modify. This issue is fixed in version 1.22.2.","status":"published","published":"2022-07-26T00:01:08Z","modified":"2024-09-20T17:32:43Z","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-2523","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T14:15:10.983Z","modified":"2026-06-17T04:42:03.44Z","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-2523","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T13:43:39Z","modified":"2026-10-28T02:31:13.513472615Z","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-2523","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T14:15:10.983Z","modified":"2026-08-27T23:04:20.027267522Z","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-q8hg-3vqv-f8v3","title":"Fava vulnerable to Reflected Cross-site Scripting","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.\nThe `query_string` parameter of Fava is vulnerable to reflected cross-site scripting, for which a attacker can modify any information that the user is able to modify. This issue is fixed in version 1.22.2.","status":"published","published":"2022-07-26T00:01:08Z","modified":"2024-09-20T18:11:45.347631Z","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:54.40888Z"},{"id":"UBUNTU-CVE-2022-2523","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T14:15:00Z","modified":"2026-10-17T12:55:57.3765972Z","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-240","description":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.","status":"published","published":"2022-07-25T14:15:00Z","modified":"2023-11-08T04:08:44.444352Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
