CVE-2025-10351: Melisplatform/melis cms SQL Injection Vulnerability

CRITICAL
Advisory Identifier: GHSA-mrmx-jfw8-qhgv
CWE-89
Published
Advisory Summary

CVE-2025-10351 is a CRITICAL sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Melisplatform/melis cms libraries in the Packagist ecosystem. The issue involves melis platform cms sql injection. Remediation is available by upgrading affected packages to version 5.3.4.

CVE-2025-10351 at a Glance

CVE Identifier CVE-2025-10351
GHSA Identifier GHSA-mrmx-jfw8-qhgv
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Melisplatform/melis cms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-10351

To remediate this vulnerability, upgrade all affected Melisplatform/melis cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

melisplatform/melis-cms fixed: 5.3.4
Upgrade melisplatform/melis-cms to 5.3.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for melisplatform/melis-cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-10351, inspect your project dependencies for Melisplatform/melis cms:

inspect dependencies for melisplatform/melis-cms

Analyze the terminal output to locate any version of Melisplatform/melis cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where 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. In Melisplatform/melis cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

SQL injection vulnerability based on the melis-cms module of the Melis platform from Melis Technology. This vulnerability allows an attacker to retrieve, create, update, and delete databases through the 'idPage' parameter in the '/melis/MelisCms/PageEdition/getTinyTemplates' endpoint.

CVE-2025-10351 Affected Melisplatform/melis cms Versions

1 component(s)
Fixed Versions:
5.3.4
Product / Package Ecosystem Affected Versions Fixed Version
melisplatform/melis-cms
Packagist
< 5.3.4
5.3.4

References

Frequently Asked Questions

What is CVE-2025-10351?
CVE-2025-10351 is a security vulnerability in Melisplatform/melis cms involving Melis Platform CMS SQL Injection under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Melisplatform/melis cms versions are affected?
Affected versions include releases prior to 5.3.4 across affected packages: melisplatform/melis-cms.
What version fixes CVE-2025-10351?
Upgrading to 5.3.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is melisplatform/melis-cms affected?
Yes, melisplatform/melis-cms is affected in releases prior to 5.3.4. Upgrade your dependency to 5.3.4 or later.
What CWE is associated with CVE-2025-10351?
CVE-2025-10351 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (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.).
How can I check Packagist dependencies for CVE-2025-10351?
Run the dependency tree command: 'inspect dependencies for melisplatform/melis-cms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mrmx-jfw8-qhgv",
  "modified" : "2025-10-09T15:34:29Z",
  "published" : "2025-10-08T12:30:26Z",
  "aliases" : [ "CVE-2025-10351" ],
  "summary" : "Melis Platform CMS SQL Injection",
  "details" : "SQL injection vulnerability based on the melis-cms module of the Melis platform from Melis Technology. This vulnerability allows an attacker to retrieve, create, update, and delete databases through the 'idPage' parameter in the '/melis/MelisCms/PageEdition/getTinyTemplates' endpoint.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "melisplatform/melis-cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.3.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10351"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/melisplatform/melis-cms/commit/42d36326d9f6400b91db574483add2747af1db21"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ivansmc00/CVE-2025-10351-POC"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/melisplatform/melis-cms"
  }, {
    "type" : "WEB",
    "url" : "https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-melis-platform"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-09T15:34:29Z",
    "nvd_published_at" : "2025-10-08T11:15:33Z"
  }
}