CVE-2025-30213 — frappe
CVE-2025-30213 is a Improper Input Validation vulnerability in frappe. A fix is available for frappe — see the affected versions and patch details below.
Frappe has Possibility of Remote Code Execution due to improper validation
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- 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-30213.
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. Prior to versions 14.91.0 and 15.52.0, a system user was able to create certain documents in a specific way that could lead to remote code execution. Versions 14.9.1 and 15.52.0 contain a patch for the vulnerability. There's no workaround; an upgrade is required.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | frappe | all versions | 14.91.0pip install --upgrade 'frappe==14.91.0' |
| 🐍PyPI | frappe | ≥ 15.0.0&&< 15.52.0 | 15.52.0pip install --upgrade 'frappe==15.52.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.91.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-30213 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2025-30213 in your dependencies?
Find it across PyPI, including transitive dependencies.