CVE-2022-39297
JSON

7.7high

Deserialization of untrusted data in MelisCms

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
1.27% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m3m3-6gww-7gj9

Description

MelisCms provides a full CMS for Melis Platform, including templating system, drag'n'drop of plugins, SEO and many administration tools. Attackers can deserialize arbitrary data on affected versions of `melisplatform/melis-cms`, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication. Users should immediately upgrade to `melisplatform/melis-cms` >= 5.0.1. This issue was addressed by restricting allowed classes when deserializing user-controlled data.

Affected

Product or packageVersionsReported by
melisplatform melis-cms<= 5.0.0CVE List
melisplatform/melis-cms (Packagist)before 5.0.1GitHub Advisory Database
melistechnology meliscmsbefore 5.0.1NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

MelisCms provides a full CMS for Melis Platform, including templating system, drag'n'drop of plugins, SEO and many administration tools. Attackers can deserialize arbitrary data on affected versions of `melisplatform/melis-cms`, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication. Users should immediately upgrade to `melisplatform/melis-cms` >= 5.0.1. This issue was addressed by restricting allowed classes when deserializing user-controlled data.

GitHub Advisory Database
Impact

Attackers can deserialize arbitrary data on affected versions of melisplatform/melis-cms, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication.

Users should immediately upgrade to melisplatform/melis-cms >= 5.0.1.

Patches

This issue was addressed by restricting allowed classes when deserializing user-controlled data.

References
For more information

If you have any questions or comments about this advisory, you can contact:

  • The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;
  • The maintainers, by opening an issue on this repository.
NVD (es)

MelisCms proporciona un CMS completo para la Plataforma Melis, incluyendo el sistema de plantillas, drag'n'drop de plugins, SEO y muchas herramientas de administración. Los atacantes pueden deserializar datos arbitrarios en las versiones afectadas de "melisplatform/melis-cms", y en última instancia conlleva a una ejecución de código PHP arbitrario en el sistema. La realización de este ataque no requiere autenticación. Los usuarios deben actualizar inmediatamente a "melisplatform/melis-cms" versiones posteriores a 5.0.1 incluyéndola. Este problema ha sido abordado al restringir las clases permitidas cuando son deserializados los datos controlados por el usuario

References

Sources

SourceRecordLicence
CVE ListCVE-2022-39297 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-m3m3-6gww-7gj9 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-39297 changed 2026-06-17Public domain