Impact
The vulnerability resides in the get_count() method of the reportview component in the Frappe framework. Prior to version 16.23.0, this method constructs a raw SQL COUNT query based on report input without proper validation or escaping. By supplying crafted report data, an attacker can inject arbitrary SQL into the executed statement, potentially reading, modifying, or deleting data in the underlying database. This does not provide direct code execution, but it does allow unauthorized data access and integrity compromise.
Affected Systems
Affected vendors and products are listed under "frappe:frappe". The issue applies to all releases before 16.23.0 of the framework. Versions 16.23.0 and later include the fix.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description it is inferred that the attack vector involves sending specially crafted report input via the web interface or API. The exploit requires legitimate access to the reporting interface, suggesting that it is an authenticated attack, though the exact privilege level is not specified in the advisory.
OpenCVE Enrichment