CVE-2022-2514 | Cross-site Scripting (XSS) - Reflected in beancount/fava

Exp

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.

Published: 2022-07-25 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-2514 is rated Exploit Available (58/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.30%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-2514

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-2514

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-08-04 0.36% 0.30% -0.05%
2 2025-08-03 0.27% 0.36% +0.08%
3 2025-07-27 0.27%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-2514

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
8.0 3.0 HIGH
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 5.8 [email protected]

Weakness enumeration for CVE-2022-2514

GitHub Security Advisory for CVE-2022-2514

GHSA-xrf4-39fm-j5f2 · Severity: medium · Ecosystem: pip — Fava time and filter parameters vulnerable to reflected Cross-site Scripting

OS Trackers for CVE-2022-2514

vendor priority summary link
debian not yet assigned CVE-2022-2514 not yet assigned priority: Debian including 1 source packages (fava), 2 status rows across 2 suites (bullseye, sid): open 1, resolved 1. https://security-tracker.debian.org/tracker/CVE-2022-2514
ubuntu medium CVE-2022-2514 medium priority: Ubuntu including 1 source packages (fava), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 6, needs-triage 4, ignored 3. https://ubuntu.com/security/CVE-2022-2514

Affected software / configurations for CVE-2022-2514

Vendor Product Version Raw CPE
fava_project fava < 1.22 cpe:2.3:a:fava_project:fava:*:*:*:*:*:*:*:*

References for CVE-2022-2514

cvelogic Threat Intelligence