Description
The time and filter parameters in Fava prior to v1.22 are vulnerable to reflected XSS due to the lack of escaping of error messages which contained the parameters in verbatim.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| beancount | beancount/fava | unspecified – < 1.22 | 1.22 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | fava | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | fava | No fix yet | — |
| Ubuntu 26.04 LTS | fava | No fix yet | — |
| Ubuntu 25.10 | fava | No fix yet | — |
| Ubuntu 22.04 LTS | fava | No fix yet | — |
| Ubuntu 20.04 LTS | fava | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | fava | < 1.22 | 1.22 | GHSA-xrf4-39fm-j5f2 |