CVE-2025-53639CWE-89

Metersphere has SQL Injection Vulnerability in Sorting Field

Medium · published July 14, 2025

CVSS v4.0
5.1
EPSS
0%
Percentile
36.0
In the wild
Unconfirmed
What it is

⚠️ A not-so-sneaky SQL injection awaits in the sortField parameter of MeterSphere's API! If you're using versions before 3.6.5-lts, it's time to pay attention! Think of the API like a restaurant menu that lets you sort the dishes. If the chef doesn't check the orders properly, someone might ask for a 'special' dish that can change the entire menu or even delete it! An attacker could manipulate the sorting input to execute harmful SQL statements, resulting in unwanted changes or deletions of your database contents. This can lead to a seriously compromised application, jeopardizing the integrity and availability of your data, which is absolutely devastating for operations!

Put simply

Think of the API like a restaurant menu that lets you sort the dishes. If the chef doesn't check the orders properly, someone might ask for a 'special' dish that can change the entire menu or even delete it! This vulnerability arises from insufficient validation and sanitization of the sortField parameter in certain API endpoints, allowing attackers to inject arbitrary SQL queries through the sorting functionality.

What to do

An attacker could manipulate the sorting input to execute harmful SQL statements, resulting in unwanted changes or deletions of your database contents. This can lead to a seriously compromised application, jeopardizing the integrity and availability of your data, which is absolutely devastating for operations! Upgrade to MeterSphere version 3.6.5-lts or later to patch this vulnerability. Additionally, ensure proper input validation and sanitization for API parameters in your application. Regularly review your security practices to protect your database! You've got this! Stay proactive and keep your application secure! 🛡️

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
EPSS
0.00428 · 36.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-07-14T20:04Z
EPSS history
Timeline
  • 14 JUL 20:04Z
    Metersphere has SQL Injection Vulnerability in Sorting Field
    cvelistv5