CVE-2023-23645: WordPress MainWP Code Snippets Extension Plugin <= 4.0.2 - Subscriber+ Arbitrary PHP Code Injection/Execution Vulnerability
Vulnerability summary
CVE-2023-23645 is a critical (CVSS 9.9) Improper Control of Generation of Code vulnerability in mainwp code_snippets_extension. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 63.2% of scored vulnerabilities. Fixed in 4.0.3.
Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 17-05-2024PublishedVulnerability first disclosed.
- 28-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- wordfenceSource8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.97%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.97% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mainwp2 products
- code_snippets_extension< 4.0.3
- mainwp code snippets extension≥ n/a, ≤ 4.0.2
Wordpress1 product
- mainwp-code-snippets-extension≤ 4.0.2 (fixed in 4.0.3)
2 vendors · 3 products