{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2514","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.","descriptionLong":"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.","published":"2022-07-25T13:42:34.000Z","updated":"2026-10-28T02:30:31.997101219Z","reserved":"2022-07-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"GitHub"},{"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","rating":"high","source":"@huntrdev"},{"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","rating":"high","source":"huntr.dev"},{"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","rating":"high","source":"OSV"}],"rating":"medium","products":["beancount/fava"],"affectedProducts":[{"vendor":"beancount","product":"beancount/fava","defaultStatus":null,"versions":[{"lessThan":"1.22","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"fava","purl":"pkg:pypi/fava","ranges":["<1.22"],"fixed":["1.22"],"advisory":"GHSA-xrf4-39fm-j5f2"}],"cwes":["CWE-79"],"aliases":["GHSA-xrf4-39fm-j5f2","PYSEC-2022-239"],"references":[{"url":"https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2514.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xrf4-39fm-j5f2","tags":["advisory"]},{"url":"https://github.com/beancount/fava","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00874,"epssPercentile":0.59687,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2514","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2514","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2514","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xrf4-39fm-j5f2","ok":true,"note":"GHSA-xrf4-39fm-j5f2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2514","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}