# CVE-2025-30217: Frappe has possibility of SQL injection due to improper validations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-26)
- **CWE:** CWE-89
- **Aliases:** GHSA-6phg-4wmq-h5h3, PYSEC-2026-1391
- **Published:** 2025-03-26T16:18:31.638Z
- **Modified:** 2026-07-07T17:57:26.684Z

## Who should check

- Projects that depend on PyPI package frappe (\< 14.93.2)
- Anyone running frappe \< 14.93.2; \>= 15.0.0, \< 15.55.0

## Description

Frappe is a full-stack web application framework. Prior to versions 14.93.2 and 15.55.0, a SQL Injection vulnerability has been identified in Frappe Framework which could allow a malicious actor to access sensitive information. Versions 14.93.2 and 15.55.0 contain a patch for the issue. No known workarounds are available.

## Affected and fixed versions

- PyPI `frappe`: affected \< 14.93.2; fixed 14.93.2, 15.55.0 (osv)
- frappe: \< 14.93.2; \>= 15.0.0, \< 15.55.0 (cvelist)

## Mitigation

- Upgrade frappe to one of 14.93.2, 15.55.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30217. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30217.md
Affected: frappe < 14.93.2
Fixed in: 14.93.2, 15.55.0

Steps:
1. Search this machine and project for frappe (PyPI), frappe: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30217 being exploited?

There is no confirmed exploitation: CVE-2025-30217 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30217?

Medium: CVSS 6.6 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-30217?

frappe \< 14.93.2.

### Is there a fix for CVE-2025-30217?

Yes. Fixed in 14.93.2, 15.55.0. Upgrade frappe to one of 14.93.2, 15.55.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-30217?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/frappe/frappe/security/advisories/GHSA-6phg-4wmq-h5h3>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-30217>
- vendor: <https://github.com/advisories/GHSA-6phg-4wmq-h5h3>
- other: <https://github.com/frappe/frappe>
- other: <https://pypi.org/project/frappe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30217>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6phg-4wmq-h5h3> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1391> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-30217> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30217>
