Skip to main content

Metersphere EUVDEUVD-2025-21386

| CVE-2025-53639 CRITICAL
SQL Injection (CWE-89)
2025-07-14 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

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

metersphere < 3.6.5-lts

Affected Packages

euvd metersphere fix: 3.6.5-lts

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

GitHub Advisory PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 05:51 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.6.5-lts
CVE Published
Jul 14, 2025 - 20:15 nvd
CRITICAL 9.8

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 81% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-37461 CRITICAL POC
9.8 Jul 17

Metersphere is an opensource testing framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo

CVE-2023-29944 CRITICAL POC
9.8 May 08

Metersphere v1.20.20-lts-79d354a6 is vulnerable to Remote Command Execution. Rated critical severity (CVSS 9.8), this vu

CVE-2023-35937 HIGH POC
8.8 Jul 06

Metersphere is an open source continuous testing platform. Rated high severity (CVSS 8.8), this vulnerability is remotel

CVE-2022-46178 HIGH POC
8.8 Dec 29

MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testi

CVE-2022-23512 HIGH POC
8.1 Dec 14

MeterSphere is a one-stop open source continuous testing platform. Rated high severity (CVSS 8.1), this vulnerability is

CVE-2023-38494 HIGH POC
7.5 Aug 04

MeterSphere is an open-source continuous testing platform. Rated high severity (CVSS 7.5), this vulnerability is remotel

CVE-2023-25573 HIGH POC
7.5 Mar 09

metersphere is an open source continuous testing platform. Rated high severity (CVSS 7.5), this vulnerability is remotel

CVE-2024-32467 MEDIUM POC
6.5 Apr 25

MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot

CVE-2023-32699 MEDIUM POC
6.5 May 30

MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot

CVE-2023-25814 MEDIUM POC
6.5 Mar 09

metersphere is an open source continuous testing platform. Rated medium severity (CVSS 6.5), this vulnerability is remot

CVE-2024-37161 MEDIUM POC
6.1 Jun 11

MeterSphere is an open source continuous testing platform. Rated medium severity (CVSS 6.1), this vulnerability is remot

CVE-2022-23544 MEDIUM POC
6.1 Dec 28

MeterSphere is a one-stop open source continuous testing platform, covering test management, interface testing, UI testi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy