# CVE-2023-23645: WordPress MainWP Code Snippets Extension Plugin \<= 4.0.2 - Subscriber+ Arbitrary PHP Code Injection/Execution Vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-05-17 · Modified: 2026-04-28
- Record: https://cvemate.com/vulnerability/CVE-2023-23645 · JSON: https://cvemate.com/vulnerability/CVE-2023-23645/json

## Description

```text
Improper Control of Generation of Code ('Code Injection') vulnerability in MainWP MainWP Code Snippets Extension allows Code Injection.This issue affects MainWP Code Snippets Extension: from n/a through 4.0.2.
```

## Signals

- CVSS: 9.9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.975%, percentile 63.257%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mainwp code\_snippets\_extension: \< 4.0.3
- mainwp mainwp code snippets extension: ≥ n/a, ≤ 4.0.2
- wordpress mainwp-code-snippets-extension: ≤ 4.0.2 (fixed in 4.0.3)

## References

- <https://patchstack.com/database/vulnerability/mainwp-code-snippets-extension/wordpress-mainwp-code-snippets-extension-plugin-4-0-2-subscriber-arbitrary-php-code-injection-execution-vulnerability?_s_id=cve>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a2d87a05-81a7-40d9-a60f-94a4d88bf87a>

---

Data as of 2026-12-05T11:51:36.700Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
