Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability represents critical real-world risk. The CVSS v3.1 score of 9.8 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H indicates: (1) Network-accessible attack vector requiring no special network access, (2) Low attack complexity with no race conditions or special timing, (3) No privileges or user interaction required, (4) Unrestricted scope impact affecting confidentiality, integrity, and availability. The unauthenticated, low-complexity, remote exploitability combined with SQL injection's inherent ability to extract sensitive data, modify records, and drop tables makes EPSS exploitation probability exceptionally high (typically 95%+). This is not a theoretical high-CVSS-low-real-risk case; it is immediately exploitable by unsophisticated attackers. The immediate availability of the patch (version 3.6.5-lts) and the vulnerability's public disclosure create urgency for all users. |
| Exploit ScenarioDerived | An attacker discovers a MeterSphere instance (version < 3.6.5-lts) and identifies an API endpoint such as /api/test/list or /api/project/search that accepts a sortField parameter. The attacker crafts a request with payload: sortField=name;DROP TABLE users;-- or sortField=name UNION SELECT password FROM users WHERE 1=1. Since the vulnerability has AV:N (network), AC:L (low complexity), PR:N (no auth), and UI:N (no user interaction), the attacker can execute this from their browser or automation tool without any authentication. The unsanitized sortField value is concatenated into a SQL query like: SELECT * FROM test_cases ORDER BY [ATTACKER_INPUT]. The database executes the injected SQL, allowing the attacker to: (1) Extract sensitive data (test cases, user credentials, API keys, project secrets), (2) Modify test results or project data to hide malicious activities, (3) Drop tables to cause denial of service, or (4) Create backdoor accounts. Because this is a continuous testing platform, attackers may also compromise test data, CI/CD pipeline integration, or connected external systems. Full database compromise is achievable in under 60 seconds. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-53639 is a critical SQL injection vulnerability in MeterSphere's API sorting functionality where the sortField parameter lacks proper input validation and sanitization. All versions prior to 3.6.5-lts are affected, allowing unauthenticated remote attackers to execute arbitrary SQL statements and completely compromise database integrity, availability, and confidentiality. This is a network-exploitable vulnerability with no authentication required and high real-world risk.
RemediationAI
{'type': 'Patch', 'action': 'Upgrade MeterSphere to version 3.6.5-lts or later', 'priority': 'CRITICAL', 'details': 'The patched version 3.6.5-lts implements proper input validation and sanitization of the sortField parameter, likely through parameterized queries, allowlist validation, or input escaping.'} {'type': 'Immediate Mitigation', 'action': 'If immediate patching is not possible, implement WAF rules to block requests containing SQL keywords in sortField parameter values', 'details': 'Block requests where sortField contains: UNION, SELECT, DROP, INSERT, UPDATE, DELETE, OR, AND, --, /*. This is a temporary measure only.'} {'type': 'Detection', 'action': 'Monitor API access logs for suspicious sortField values containing SQL syntax or special characters', 'details': 'Search for patterns: semicolons, comment sequences (--, /*), SQL keywords, UNION statements in sortField parameter logs.'} {'type': 'Access Control', 'action': 'If running vulnerable versions, restrict network access to MeterSphere APIs to trusted internal networks only', 'details': 'Disable external/internet-facing access until patching is complete.'}
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in MeterSphere (CPE: cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:*), an open-source continuous testing platform written in Java. The root cause is classified under CWE-89 (SQL Injection), specifically improper neutralization of special elements used in an SQL command. The sortField parameter in multiple API endpoints is passed directly into SQL ORDER BY clauses or similar database query construction without parameterized queries or input validation. The application fails to use prepared statements with bound parameters, instead concatenating user-supplied input directly into dynamic SQL queries. This is a classic second-order or direct SQL injection vulnerability in the sorting/filtering layer.
Know when Metersphere gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
MeterSphere is an open source continuous testing platform. Prior to version 3.6.5-lts, the sortField parameter in certain API endpoints is not properly validated or sanitized. An attacker can supply crafted input to inject and execute arbitrary SQL statements through the sorting functionality. This could result in modification or deletion of database contents, with a potential full compromise of the application’s database integrity and availability. Version 3.6.5-lts fixes the issue.
Executive ViewAI
MeterSphere versions prior to 3.6.5-lts contain a critical SQL injection vulnerability in the API sorting functionality that allows unauthenticated attackers to execute arbitrary database commands and gain complete control of sensitive data and systems. This network-exploitable flaw poses immediate risk to any organization running affected versions, as it requires no credentials and can result in full database compromise, data theft, or operational disruption.
Apply vendor patch (upgrade to MeterSphere 3.6.5-lts or later). If patching is delayed, restrict network access to the MeterSphere API endpoint to only authorized internal networks and implement Web Application Firewall rules to block requests containing SQL injection patterns in the sortField parameter.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Metersphere
View allMetersphere is an opensource testing framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
Metersphere v1.20.20-lts-79d354a6 is vulnerable to Remote Command Execution. Rated critical severity (CVSS 9.8), this vu
Metersphere is an open source continuous testing platform. Rated high severity (CVSS 8.8), this vulnerability is remotel
MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testi
MeterSphere is a one-stop open source continuous testing platform. Rated high severity (CVSS 8.1), this vulnerability is
MeterSphere is an open-source continuous testing platform. Rated high severity (CVSS 7.5), this vulnerability is remotel
metersphere is an open source continuous testing platform. Rated high severity (CVSS 7.5), this vulnerability is remotel
MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot
MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot
metersphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot
MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.1), this vulnerability is remot
MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testi
EUVD-2025-21386
NVD
CVE.org
EPSS
GitHub
Exploit-DB