MainWP Code Snippets Extension <= 4.0.2 - Authenticated (Subscriber+) PHP Code Injection

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2023-23645
CVSS High (8.8)
Publicly Published January 18, 2023
Last Updated January 22, 2024
Researcher Dave Jong
Description

The MainWP Code Snippets Extension for WordPress is vulnerable to code injection in versions up to, and including, 4.0.2. This makes it possible for attackers with subscriber-level privileges or higher to execute arbitrary code via the plugin.

References

1 affected software package

Software Type Plugin
Software Slug mainwp-code-snippets-extension (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.0.2
Patched Version
  • 4.0.3
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.