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

- Severity: Critical 9.9 (CVSS:3.1, scored by Patchstack) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 63% of CVEs (2026-12-01)
- Published: 2024-05-17T06:30:36.081Z
- Modified: 2026-06-17T05:37:39.303Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Patchstack

## Description

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.

(As written by CVE List.)

## Affected

- MainWP MainWP Code Snippets Extension: from n/a up to 4.0.2
- mainwp code_snippets_extension: before 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> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2023-23645](https://www.cve.org/CVERecord?id=CVE-2023-23645), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2023-23645](https://nvd.nist.gov/vuln/detail/CVE-2023-23645), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-23645 · Whole record: https://cve.day/CVE-2023-23645.json · Rebuilt by cve.day 2026-11-25T22:58:33.942Z
