8.2

CVE-2025-52040: frappe erpnext SQL Injection

CVSS: 8.2v3.1HighAnalyzed
Published 01-10-2025Last modified 01-10-2025

Vulnerability summary

CVE-2025-52040 is a high (CVSS 8.2) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 01-10-2025
    PublishedVulnerability first disclosed.
  2. 01-10-2025
    Last modifiedVulnerability information updated.

Description

In Frappe ERPNext 15.57.5, the function get_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows an attacker can extract all information from databases by injecting a SQL query into the blanket_order_type parameter.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

0.00 pp

From 0.33% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Vulnerability Disclosures

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Frappe1 product

1 vendor · 1 product

References

2 links