CVE-2025-68897 WordPress IF AS Shortcode plugin <= 1.2 - Remote Code Execution (RCE) vulnerability

Critical 9.9 Published Updated

Attackers can execute arbitrary code via code injection in the IF AS Shortcode plugin, requiring an upgrade to secure WordPress sites.

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-2025-68897?

CVE-2025-68897 is a critical code injection vulnerability in Mohammad I. Okfie IF AS Shortcode, published on 29 Dec 2025. 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 Mohammad I. Okfie IF AS Shortcode if-as-shortcode allows Code Injection.This issue affects IF AS Shortcode: from n/a through <= 1.2.

Weakness: CWE-94

Which versions are affected by CVE-2025-68897?

How do I fix CVE-2025-68897?

No fix has been published for CVE-2025-68897 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-2025-68897 being exploited?

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

Sources

Also known as GHSA-cw44-2fxg-4q3m.

Is CVE-2025-68897 in your software?

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

Check your SBOMs for free