# CVE-2026-39640: mndpsingh287 Theme Editor CSRF and Code Injection

Source: https://junglewise.ai/threats/cve-2026-39640-mndpsingh287-theme-editor-csrf-and-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-08. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-39640 · Severity: critical · CVSS 9.6 · Published 2026-04-08

The Theme Editor plugin for WordPress, which allows administrators to edit site files directly, contains a security flaw that could allow an attacker to inject malicious code. By tricking a logged-in administrator into clicking a malicious link or visiting a compromised website, an attacker can force the plugin to execute unauthorized commands. This could lead to a full takeover of the website, theft of customer data, or the installation of ransomware.

Vendors: [Mndpsingh287](https://junglewise.ai/threats/vendors/mndpsingh287).

## Quick answers

**Is CVE-2026-39640 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39640 being exploited in the wild.

**How severe is CVE-2026-39640?** Critical severity, with a CVSS score of 9.6, published 8 April 2026.

**Which products and versions are affected?** Mndpsingh287 Theme Editor <= 3.2.

**Is there a fix for CVE-2026-39640?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-39640 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-39640?** Check whether you run Mndpsingh287 Theme Editor at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Cross-Site Request Forgery (CSRF) vulnerability exists in the mndpsingh287 Theme Editor plugin (versions up to and including 3.2) due to insufficient validation of request origins. An unauthenticated remote attacker can exploit this by crafting a malicious request and tricking a highly privileged user (such as an administrator) into executing it while authenticated. Successful exploitation allows for arbitrary code injection, which can lead to Remote Code Execution (RCE) and full site compromise. As of the advisory date, no official patch has been released.

## Affected products

- mndpsingh287 Theme Editor <= 3.2

## Timeline

- 2026-01-15: other: Vulnerability reported by researcher hhhai
- 2026-02-14: advisory: Initial advisory published by Patchstack
- 2026-04-08: disclosed: CVE published to NVD

## References

- [https://wordpress.org/plugins](https://wordpress.org/plugins)
- [https://patchstack.com/database/Wordpress/Plugin/theme-editor/vulnerability/wordpress-theme-editor-plugin-3-2-cross-site-request-forgery-csrf-to-remote-code-execution-vulnerability?_s_id=cve](https://patchstack.com/database/Wordpress/Plugin/theme-editor/vulnerability/wordpress-theme-editor-plugin-3-2-cross-site-request-forgery-csrf-to-remote-code-execution-vulnerability?_s_id=cve)

## Related threats

- [mndpsingh287 Theme Editor CSRF in ms_update AJAX action](https://junglewise.ai/threats/cve-2025-14469-mndpsingh287-theme-editor-csrf-in-ms-update-ajax-action)
