CVE-2025-30212 — frappe
Fix: frappe/frappe@27f1343CVE-2025-30212 is a SQL Injection vulnerability in frappe. A fix is available for frappe — see the affected versions and patch details below.
Frappe has possibility of SQL injection due to improper validations
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-30212.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
frappe🐍frappeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | frappe | all versions | 14.89.0pip install --upgrade 'frappe==14.89.0' |
| 🐍PyPI | frappe | ≥ 15.0.0&&< 15.51.0 | 15.51.0pip install --upgrade 'frappe==15.51.0' |
Affected Products
frappefrappeDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for frappe, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update frappe to 14.89.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-30212 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is CVE-2025-30212 in your dependencies?
Find it across PyPI, including transitive dependencies.