CVE-2022-2523
Python vulnerability analysis and mitigation

Overview

A Cross-site Scripting (XSS) vulnerability was discovered in GitHub repository beancount/fava versions prior to 1.22.2. The vulnerability was identified on July 23, 2022 and assigned identifier CVE-2022-2523 (NVD, CVE).

Technical details

The vulnerability is classified as a Reflected Cross-site Scripting (XSS) issue, identified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The CVSS v3.1 base score is 6.1 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N according to NVD, while huntr.dev assessed it with a higher score of 8.0 (HIGH) with vector CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N (NVD).

Impact

The vulnerability could allow an attacker to execute malicious scripts in the context of the user's browser session, potentially leading to unauthorized access to sensitive information or manipulation of web content (NVD).

Mitigation and workarounds

The vulnerability was patched in version 1.22.2 of beancount/fava. The fix involved removing direct HTML rendering in the query filter and implementing proper sanitization of user input (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management