Vulnerability · Published Jul 25, 2022 · Assigned by @huntrdev

CVE-2022-2514Cross-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 40.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The time and filter parameters in Fava prior to v1.22 are vulnerable to reflected XSS due to the lack of escaping of error messages which contained the parameters in verbatim.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIfava1.22GHSA-xrf4-39fm-j5f2
PyPIfava1.22PYSEC-2022-239
PyPIfavano fix listedPYSEC-2022-43182
Ubuntu:22.04:LTSfavano fix listedUBUNTU-CVE-2022-2514
Ubuntu:25.10favano fix listedUBUNTU-CVE-2022-2514
Ubuntu:26.04:LTSfavano fix listedUBUNTU-CVE-2022-2514
Ubuntu:26.10favano fix listedUBUNTU-CVE-2022-2514

Affected products (as reported)

VendorProductVersions
beancount beancount/fava unspecified – before 1.22

Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

References