GHSA-xrf4-39fm-j5f2

Suggest an improvement
Source
https://github.com/advisories/GHSA-xrf4-39fm-j5f2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-xrf4-39fm-j5f2/GHSA-xrf4-39fm-j5f2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xrf4-39fm-j5f2
Aliases
Published
2022-07-26T00:01:08Z
Modified
2024-09-20T17:27:22.688066Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Fava time and filter parameters vulnerable to reflected Cross-site Scripting
Details

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.

Database specific
{
    "nvd_published_at": "2022-07-25T14:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-06T09:34:18Z"
}
References

Affected packages

PyPI / fava

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22

Affected versions

0.*

0.0.0

1.*

1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.20.1
1.21