CVE-2023-23645 Code injection in MainWP Code Snippets Extension

Critical 9.9 Published Updated

Attackers with subscriber access can inject and execute arbitrary PHP code in the MainWP Code Snippets Extension plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-23645?

CVE-2023-23645 is a critical code injection vulnerability in MainWP Code Snippets Extension, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2023-23645?

It affects 1 product.

Products include Mainwp Code Snippets Extension.

How do I fix CVE-2023-23645?

No fix has been published for CVE-2023-23645 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-23645 being exploited?

There is no known exploitation of CVE-2023-23645 in the wild and no public exploit code.

Sources

Also known as GHSA-9mxj-v3x9-fjfr.

Is CVE-2023-23645 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free