CVE-2022-2589 json
Cross-site Scripting (XSS) - Reflected in beancount/fava
published 2022-08-01 4 y ago modified 2026-06-17 4 mo ago also GHSA-6hcj-qrw3-m66q , PYSEC-2022-246 , EUVD-2022-0102
- cvss
- 6.9
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
Patch / fix
- pypi fava 1.22.3
- beancount beancount/fava 1.22.3
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/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.3 |
1.22.3 |
Affected products
- beancount beancount/fava
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539
web, patch, third-party-advisory
-
huntr.dev
/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-2589
advisory
-
github.com
/advisories/GHSA-6hcj-qrw3-m66q
advisory
-
github.com
/beancount/fava
package
-
github.com
/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-246.yaml
web
Sources
- CVE List CVE-2022-2589
- GitHub Advisory GHSA-6hcj-qrw3-m66q
- NVD CVE-2022-2589
- OSV PYSEC-2022-246
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.