Advisory

GHSA-q8hg-3vqv-f8v3

Also known as: CVE-2022-2523, PYSEC-2022-240

Summary

Fava vulnerable to Reflected Cross-site Scripting

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-07-26 00:01 UTC
Modified
2024-09-20 18:11 UTC

Affected packages and fixes

fava

PyPI · All systems

Affected

  • introduced 0, fixed 1.22.2 (ecosystem)

Fixed versions

1.22.2

Fix

  • Fixed version 1.22.2
    pip install --upgrade fava==1.22.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences