Vulnerability · Published Aug 1, 2022 · Assigned by @huntrdev
CVE-2022-2589Cross-site Scripting (XSS) - Reflected in beancount/fava
Medium 6.9
In plain English
A medium-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.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)6.9Medium
Exploit odds (30 days)0.8%top 44.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | fava | 1.22.3 | GHSA-6hcj-qrw3-m66q |
| PyPI | fava | 1.22.3 | PYSEC-2022-246 |
| Ubuntu:22.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2589 |
| Ubuntu:25.10 | fava | no fix listed | UBUNTU-CVE-2022-2589 |
| Ubuntu:26.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2589 |
| Ubuntu:26.10 | fava | no fix listed | UBUNTU-CVE-2022-2589 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| beancount | beancount/fava | unspecified – before 1.22.3 |
Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
References
- https://huntr.dev/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08 x_refsource_CONFIRM
- https://github.com/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539 x_refsource_MISC