CVE-2023-23645: Improper Control of Generation of Code ('Code Injection') vulnerability in MainWP MainWP Code Snippets Extensi
CVE-2023-23645 is a critical-severity flaw (CVSS 9.9) affecting code snippets extension. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.9 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2024-05-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-23645?
code snippets extension: upgrade to 4.0.3. Exact commands for each OS are on this page.
Is CVE-2023-23645 being exploited?
CVE-2023-23645 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-23645 affect?
CVE-2023-23645 affects code snippets extension. Severity is critical (CVSS 9.9). 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.
How urgent is CVE-2023-23645?
Priority 50/100. Critical severity