{"id":"CVE-2025-30212","published":"2025-03-25T14:21:32Z","modified":"2025-03-25T14:41:42Z","title":"Frappe has possibility of SQL injection due to improper validations","vendor":"frappe","product":"frappe","tier":"tail","description":{"text":"Frappe is a full-stack web application framework. An SQL Injection vulnerability has been identified in Frappe Framework prior to versions 14.89.0 and 15.51.0 which could allow a malicious actor to access sensitive information. Versions 14.89.0 and 15.51.0 fix the issue. Upgrading is required; no other workaround is present.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00765,"percentile":0.5174,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/frappe/frappe/security/advisories/GHSA-3hj6-r5c9-q8f3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/frappe/frappe/commit/27f13437db161a173137d91cd07d0f9287d7c556","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/frappe/commit/2ebd88520ecfa9bb7d3392b7de8c8f94a86ec05c","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.35},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"frappe","affectedVersions":[{"vendor":"frappe","product":"frappe","versions":["< 14.89.0",">= 15.0.0, < 15.51.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-25T14:41:32.152461Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"frappe","vulnerableRanges":["<14.89.0",">=15.0.0, <15.51.0"],"patched":["14.89.0","15.51.0"],"from":["GHSA-3hj6-r5c9-q8f3","PYSEC-2026-1390"],"provenance":"source"}],"summary":{"text":"The Frappe Framework, a full-stack web application framework, contains an SQL injection flaw caused by improper input validation in its SQL handling. An attacker who can reach the affected application over the network, without needing credentials or user interaction, can exploit it to read sensitive information from the database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:34Z"},"euvd":{"id":"EUVD-2025-8082","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-frappe-cve-2022-23057","parents":[{"from":"CVE-2022-23057","to":"CVE-2025-30212","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frappe/model/document.py"],"commits":["https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7","https://github.com/frappe/frappe/commit/27f13437db161a173137d91cd07d0f9287d7c556","https://github.com/frappe/frappe/commit/2ebd88520ecfa9bb7d3392b7de8c8f94a86ec05c"],"basis":"rarely changed file"}]},{"from":"CVE-2022-23058","to":"CVE-2025-30212","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frappe/model/document.py"],"commits":["https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7","https://github.com/frappe/frappe/commit/27f13437db161a173137d91cd07d0f9287d7c556","https://github.com/frappe/frappe/commit/2ebd88520ecfa9bb7d3392b7de8c8f94a86ec05c"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2025-30212","to":"CVE-2025-52898","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frappe/utils/data.py"],"commits":["https://github.com/frappe/frappe/commit/27f13437db161a173137d91cd07d0f9287d7c556","https://github.com/frappe/frappe/commit/2ebd88520ecfa9bb7d3392b7de8c8f94a86ec05c","https://github.com/frappe/frappe/commit/52e31337a6c964189c8b883a2f7bc3a28ab374f2","https://github.com/frappe/frappe/commit/5b4849b1ab5fd796b306312745b4e202b0e90d66"],"basis":"rarely changed file"}]}]}}