Vulnerability · Published Jul 25, 2022 · Assigned by @huntrdev
CVE-2022-2523Cross-site Scripting (XSS) - Reflected in beancount/fava
High 8.0
In plain English
A high-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.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.0High
Exploit odds (30 days)0.9%top 41.1% 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.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | fava | 1.22.2 | GHSA-q8hg-3vqv-f8v3 |
| PyPI | fava | 1.22.2 | PYSEC-2022-240 |
| Ubuntu:22.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2523 |
| Ubuntu:25.10 | fava | no fix listed | UBUNTU-CVE-2022-2523 |
| Ubuntu:26.04:LTS | fava | no fix listed | UBUNTU-CVE-2022-2523 |
| Ubuntu:26.10 | fava | no fix listed | UBUNTU-CVE-2022-2523 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| beancount | beancount/fava | unspecified – before 1.22.2 |
Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://huntr.dev/bounties/2a1802d8-1c2e-4919-96a7-d4dcf7ffcf8f x_refsource_CONFIRM
- https://github.com/beancount/fava/commit/dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b x_refsource_MISC