CVE-2022-2514: Fava - Reflected XSS
- Cve: CVE-2022-2514
- Name: Fava - Reflected XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the affected application, leading to potential session hijacking or defacement.
- Remediation: Update to version 1.22 or later, ensuring proper escaping of error messages.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious request
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00874
- Epss percentile: 0.59853
- Assignee: [email protected]
- Published at: 2022-07-25T14:15:10Z
- Age in days: 1583
- Modified at: 2026-06-17T04:42:02Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2514
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429 | nvd | 2022-07-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/beancount/fava/commit/ca9e3882c7b5fbf5273ba52340b9fea6a99f3711 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/dbf77139-4384-4dc5-9994-45a5e0747429 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fava_project:fava | < 1.22 | no | nvd | /v1/products/fava_project/fava |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| beancount/fava | commit, fix, package | yes | /v1/repositories/beancount/fava |
Index
- Repositories: 1
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-07-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts