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 package | Versions | Reported by |
|---|---|---|
| melisplatform melis-cms | <= 5.0.0 | CVE List |
| melisplatform/melis-cms (Packagist) | before 5.0.1 | GitHub Advisory Database |
| melistechnology meliscms | before 5.0.1 | NVD |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://github.com/melisplatform/melis-cms/security/advisories/GHSA-m3m3-6gww-7gj9 | third-party-advisory, web | |
| https://github.com/melisplatform/melis-cms/commit/d124b2474699a679a24ec52620cadceb3d4cec11 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-39297 | advisory | |
| https://github.com/melisplatform/melis-cms | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-39297 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m3m3-6gww-7gj9 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-39297 changed 2026-06-17 | Public domain |