{"id":"UBUNTU-CVE-2022-2514","details":"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.","modified":"2026-05-20T16:07:50.798002967Z","published":"2022-07-25T14:15:00Z","upstream":["CVE-2022-2514"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-2514"},{"type":"REPORT","url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429"},{"type":"REPORT","url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-2514"}],"affected":[{"package":{"name":"fava","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/fava?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10-2","1.11-1","1.14-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fava","binary_version":"1.14-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2514.json"}},{"package":{"name":"fava","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/fava?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18-1","1.20.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fava","binary_version":"1.20.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2514.json"}},{"package":{"name":"fava","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/fava?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-fava","binary_version":"1.30.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2514.json"}},{"package":{"name":"fava","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/fava?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.30.2+dfsg-1","binary_name":"python3-fava"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2514.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}