{"id":"CVE-2022-2589","aliases":["CVE-2022-2589","GHSA-6hcj-qrw3-m66q","PYSEC-2022-246"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS) - Reflected in beancount/fava","summary":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.","source":"cvelist"},{"lang":"en","text":"Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo Cross-site Scripting (XSS) - Reflejado en el repositorio de GitHub beancount/fava versiones anteriores a 1.22.3","source":"nvd"}],"published":"2022-08-01T14:12:23.000Z","modified":"2026-06-17T04:42:10.387Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.22.3","status":"affected"}],"vendor":"beancount","product":"beancount/fava","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.22.3"}],"ecosystem":"PyPI","package":"fava","purl":"pkg:pypi/fava","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.22.3"}],"vendor":"fava_project","product":"fava","cpe":"cpe:2.3:a:fava_project:fava:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"68bbb6e39319deb35ab9f18d0b6aa9fa70472539"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.22.3"}],"ecosystem":"PyPI","package":"fava","purl":"pkg:pypi/fava","repo":"https://github.com/beancount/fava","source":"pysec"}],"references":[{"url":"https://huntr.dev/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08","tags":["exploit","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2589","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6hcj-qrw3-m66q","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/beancount/fava","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-246.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-2589","url":"https://www.cve.org/CVERecord?id=CVE-2022-2589","licence":"CVE Terms of Use","modified":"2024-08-03T00:39:08.261Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hcj-qrw3-m66q","url":"https://github.com/advisories/GHSA-6hcj-qrw3-m66q","licence":"CC-BY-4.0","modified":"2024-09-20T17:49:16.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-2589","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2589","licence":"Public domain","modified":"2026-06-17T04:42:10.387Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-246","url":"https://osv.dev/vulnerability/PYSEC-2022-246","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:50.835Z"}],"updatedAt":"2026-11-25T22:58:13.335Z","epss":{"score":0.00752,"percentile":0.56236,"date":"2026-12-01T12:00:22.000Z"}}