Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. fava
  4. ›
  5. CVE-2022-2514

CVE-2022-2514: Fava time and filter parameters vulnerable to reflected Cross-site Scripting

July 26, 2022 (updated September 20, 2024)

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

References

  • github.com/advisories/GHSA-xrf4-39fm-j5f2
  • github.com/beancount/fava
  • github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711
  • github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml
  • huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429
  • nvd.nist.gov/vuln/detail/CVE-2022-2514

Code Behaviors & Features

Detect and mitigate CVE-2022-2514 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.22

Fixed versions

  • 1.22

Solution

Upgrade to version 1.22 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/fava/CVE-2022-2514.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.