CVE-2022-2514 json
Cross-site Scripting (XSS) - Reflected in beancount/fava
published 2022-07-25 4 y ago modified 2026-07-09 4 mo ago also GHSA-xrf4-39fm-j5f2 , PYSEC-2022-239 , PYSEC-2022-43182 , EUVD-2022-0100
- cvss
- 8.0
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi fava 1.22
- beancount beancount/fava 1.22
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | fava | <1.22 |
1.22 |
Affected products
- beancount beancount/fava
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711
web, patch, third-party-advisory
-
huntr.dev
/bounties/dbf77139-4384-4dc5-9994-45a5e0747429
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-2514
advisory
-
github.com
/advisories/GHSA-xrf4-39fm-j5f2
advisory
-
github.com
/beancount/fava
package
-
github.com
/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml
web
Sources
- CVE List CVE-2022-2514
- GitHub Advisory GHSA-xrf4-39fm-j5f2
- NVD CVE-2022-2514
- OSV PYSEC-2022-43182
- OSV PYSEC-2022-239
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.