Fava vulnerable to Reflected Cross-site Scripting
Date: 2022-07
Affected: pip/fava
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2022-2523
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):