beancount/fava · Security
Fava time and filter parameters vulnerable to reflected Cross-site Scripting
- GHSA ID
- GHSA-xrf4-39fm-j5f2
- CVE ID
- CVE-2022-2514
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2514 ↗
- https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711 ↗
- https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-239.yaml ↗
- https://github.com/advisories/GHSA-xrf4-39fm-j5f2 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-43182.yaml ↗