CVE-2025-52041
BaseFortify
Publication date: 2025-10-01
Last updated on: 2025-10-03
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| frappe | erpnext | 15.57.5 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
An attacker exploiting this vulnerability can extract all information from the affected database, potentially leading to data breaches, exposure of sensitive information, and unauthorized access to confidential business data. This can compromise the integrity and confidentiality of your data.
Can you explain this vulnerability to me?
This vulnerability is a SQL Injection in the function get_stock_balance_for() in Frappe ERPNext version 15.57.5. It occurs because the inventory_dimensions_dict parameter is not properly sanitized, allowing an attacker to inject malicious SQL queries. This can lead to unauthorized extraction of all information from the database.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
This vulnerability can lead to unauthorized access and disclosure of sensitive personal or protected health information stored in the database, which may result in non-compliance with regulations such as GDPR and HIPAA that require protection of such data. Organizations affected may face legal and regulatory consequences if this vulnerability is exploited.