CVE-2022-2589
Cross-site Scripting (XSS) - Reflected in beancount/fava
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.9
Cross-site Scripting (XSS) - Reflected in beancount/fava
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
CVE-2022-2589- CVSS 3.0
- 6.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-0102
6.9
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
EUVD-2022-0102- CVSS 3.0
- 6.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6hcj-qrw3-m66q
5.3
Fava vulnerable to reflected cross-site scripting
Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.
- Record
GHSA-6hcj-qrw3-m66q- CVSS 4.0
- 5.3 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
CVE-2022-2589- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 6.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.9
Cross-site Scripting (XSS) - Reflected in beancount/fava
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
CVE-2022-2589- CVSS 3.0
- 6.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-2589
6.1
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
DEBIAN-CVE-2022-2589- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-6hcj-qrw3-m66q
5.3
Fava vulnerable to reflected cross-site scripting
Fava before 1.22.3 is vulnerable to reflected cross-site scripting due to improper validation on filter conversion.
- Record
GHSA-6hcj-qrw3-m66q- CVSS 4.0
- 5.3 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-2589
6.1
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
UBUNTU-CVE-2022-2589- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 6.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N - Updated
- 2026-11-02
OSVPYSEC-2022-246 No score
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.
- Record
PYSEC-2022-246- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
favaPyPI |
before 1.22.3 | 1.22.3 |
favaDebian:11 |
All versions, plus listed versions 1.18-11.20.1-11.20.1-21.23.1+dfsg-11.23.1-11.30.2+dfsg-1 |
None known |
favaPyPI |
before 1.22.3, plus listed versions 0.0.01.101.111.121.13 Show 19 moreShow less1.141.151.161.171.181.191.201.20.11.211.221.22.11.22.21.31.41.51.61.71.81.9 |
1.22.3 |
favaUbuntu:20.04:LTS |
All versions, plus listed versions 1.10-21.11-11.14-1 |
None known |
favaUbuntu:22.04:LTS |
All versions, plus listed versions 1.18-11.20.1-1 |
None known |
favaUbuntu:25.10 |
All versions, plus listed versions 1.30.2+dfsg-1 |
None known |
favaUbuntu:26.10 |
All versions, plus listed versions 1.30.2+dfsg-1 |
None known |
favaUbuntu:26.04:LTS |
All versions, plus listed versions 1.30.2+dfsg-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-2589 is a medium vulnerability (CVSS 6.9) in Beancount Beancount/fava, published August 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.75%, the 55th percentile. Fixed in fava 1.22.3.
References
huntr.dev/bounties/8705800d-cf2f-433d-9c3e-dbef6a3f7e08
github.com/beancount/fava/commit/68bbb6e39319deb35ab9f18d0b6aa9fa70472539
nvd.nist.gov/vuln/detail/CVE-2022-2589
github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-246.yaml
github.com/advisories/GHSA-6hcj-qrw3-m66q
github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2589.json