Description
Frappe is a full-stack web application framework. Prior to 16.23.0, the get_count() method in reportview composes a count operation around generated SQL through a raw database execution path, allowing crafted report input to alter SQL executed by the application. This issue is fixed in version 16.23.0.
References6
- github.com/frappe/frappe/commit/49dbde7460fa41528154088d23b6c6e…
- github.com/frappe/frappe/commit/f4f2df926e3c2db2da5fc79983f2853…
- github.com/frappe/frappe/pull/40022
- github.com/frappe/frappe/pull/40027
- github.com/frappe/frappe/releases/tag/v16.23.0
- github.com/frappe/frappe/security/advisories/GHSA-mf6r-q34j-pjw7
Metrics
- CVSS 4.0
-
8.7
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 31 · as of 11 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.