# CVE-2022-2523: PYSEC-2022-240 - Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.

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

CVE-2022-2523 · Severity: low · CVSS 3.1 · Published 2022-07-25

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

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

## Quick answers

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

**How severe is CVE-2022-2523?** Low severity, with a CVSS score of 3.1, published 25 July 2022.

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

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

**Am I affected by CVE-2022-2523?** 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.2 or later

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


## Affected products

- fava (PyPI) ECOSYSTEM:introduced=0,fixed=1.22.2, GIT:introduced=0,fixed=dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b|ECOSYSTEM:introduced=0,fixed=1.22.2

## Identifiers

- CVE-2022-2523
- GHSA-q8hg-3vqv-f8v3
- PYSEC-2022-240

## Related threats

- [PYSEC-2022-246 - Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.3.](https://junglewise.ai/threats/cve-2022-2589-fava-vulnerable-to-reflected-cross-site-scripting)
- [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)
