Vulnerability · Published Jul 25, 2022 · Assigned by @huntrdev
CVE-2022-2514Cross-site Scripting (XSS) - Reflected in beancount/fava
High 8.0
In plain English
A high-severity cross-site scripting in beancount/fava from beancount. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.0High
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | fava | 1.22 | GHSA-xrf4-39fm-j5f2 |
| PyPI | fava | 1.22 | PYSEC-2022-239 |
| PyPI | fava | no fix listed | PYSEC-2022-43182 |
| Ubuntu:22.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2514 |
| Ubuntu:25.10 | fava | no fix listed | UBUNTU-CVE-2022-2514 |
| Ubuntu:26.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2514 |
| Ubuntu:26.10 | fava | no fix listed | UBUNTU-CVE-2022-2514 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| beancount | beancount/fava | unspecified – before 1.22 |
Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429 x_refsource_CONFIRM
- https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711 x_refsource_MISC