beancount/fava · Security
Fava vulnerable to Reflected Cross-site Scripting
- GHSA ID
- GHSA-q8hg-3vqv-f8v3
- CVE ID
- CVE-2022-2523
- 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
Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava prior to 1.22.2.
The query_string parameter of Fava is vulnerable to reflected cross-site scripting, for which a attacker can modify any information that the user is able to modify. This issue is fixed in version 1.22.2.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2523 ↗
- https://github.com/beancount/fava/commit/dccfb6a2f4567f35ce2e9a78e24f92ebf946bc9b ↗
- https://huntr.dev/bounties/2a1802d8-1c2e-4919-96a7-d4dcf7ffcf8f ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/fava/PYSEC-2022-240.yaml ↗
- https://github.com/advisories/GHSA-q8hg-3vqv-f8v3 ↗