# CVE-2022-2589: PYSEC-2022-246 - Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.

Source: https://junglewise.ai/threats/cve-2022-2589-fava-vulnerable-to-reflected-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-01  
License: CC BY 4.0 with a link back

CVE-2022-2589 · Severity: low · CVSS 3.1 · Published 2022-08-01

Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.

Technologies: [fava (PyPI)](https://junglewise.ai/threats/technologies/fava). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-2589 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2589 being exploited in the wild.

**How severe is CVE-2022-2589?** Low severity, with a CVSS score of 3.1, published 1 August 2022.

**Which products and versions are affected?** fava (PyPI) ECOSYSTEM:introduced=0,fixed=1.22.3, GIT:introduced=0,fixed=68bbb6e39319deb35ab9f18d0b6aa9fa70472539|ECOSYSTEM:introduced=0,fixed=1.22.3.

**Is there a fix for CVE-2022-2589?** Yes. fava (PyPI): upgrade to 1.22.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-2589?** Check whether you run fava (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- fava (PyPI): upgrade to 1.22.3 or later

  ```sh
  pip install "fava>=1.22.3"
  ```


## Affected products

- fava (PyPI) ECOSYSTEM:introduced=0,fixed=1.22.3, GIT:introduced=0,fixed=68bbb6e39319deb35ab9f18d0b6aa9fa70472539|ECOSYSTEM:introduced=0,fixed=1.22.3

## Identifiers

- CVE-2022-2589
- GHSA-6hcj-qrw3-m66q
- PYSEC-2022-246

## Related threats

- [Beancount Fava reflected XSS in time and filter parameters](https://junglewise.ai/threats/cve-2022-2514-beancount-fava-reflected-xss-in-time-and-filter-parameters)
- [PYSEC-2022-240 - Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.](https://junglewise.ai/threats/cve-2022-2523-fava-vulnerable-to-reflected-cross-site-scripting)
