Skip to main content
VulnerabilityPublished

CVE-2025-52042: Frappe ERPNext · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 8.2 High.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

Organizations should immediately review their use of Frappe ERPNext and identify if version 15.57.5 or similar versions are deployed. In the absence of an official patch (none listed), the following specific mitigations are recommended: 1) Implement input validation and sanitization on the 'txt' parameter within the get_rfq_containing_supplier() function or at the application layer to prevent malicious SQL code injection. 2) Employ Web Application Firewalls (WAFs) configured to detect and block SQL Injection patterns targeting ERPNext endpoints. 3) Restrict database user privileges to the minimum necessary, limiting the potential damage of SQL Injection exploitation. 4) Monitor database and application logs for unusual query patterns or access attempts that may indicate exploitation attempts. 5) Consider isolating the ERP system within a segmented network zone with strict access controls to reduce exposure. 6) Stay updated with Frappe ERPNext vendor advisories for official patches or updates addressing this vulnerability and apply them promptly once available. 7) Conduct security code reviews and penetration testing focused on input handling in ERPNext customizations or integrations to identify similar vulnerabilities.

Description

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/request_for_quotation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query via the txt parameter.

References

Community reviews

Loading reviews…