CVE-2025-68897

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

Published Dec 29, 2025 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an improper control of code generation flaw that allows arbitrary code injection via the IF AS Shortcode plugin on WordPress sites. Because the plugin executes content without validating or sanitizing it, an attacker who can supply a malicious shortcode can run arbitrary code with the privileges of the WordPress process, effectively gaining full control of the affected server.

Affected Systems

WordPress sites that have installed the Mohammad I. Okfie IF AS Shortcode plugin in any released version up to and including 1.2 are affected. All sites with this plugin enabled are at risk, regardless of the server operating system or other plugins.

Risk and Exploitability

The CVSS score of 9.9 marks this vulnerability as critical. The EPSS score of less than 1% suggests it is not commonly exploited yet, but the impact remains severe. It is not listed in the CISA KEV catalog. Attackers would most likely exploit this by creating a crafted HTTP request that injects malicious code into a shortcode on a publicly accessible page or post. This inference is based on the described code injection mechanism, and no explicit attack vector was provided in the CVE data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade IF AS Shortcode to a version higher than 1.2 if an updated release is available; otherwise uninstall the plugin.
  • Restrict the use of the plugin to trusted administrators only or disable it on all publicly accessible pages.
  • Deploy WAF rules that detect and block malicious shortcode patterns or prevent execution of injected code.

Generated by OpenCVE AI on April 30, 2026 at 04:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') vulnerability in Mohammad I. Okfie IF AS Shortcode allows Code Injection.This issue affects IF AS Shortcode: from n/a through 1.2. 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.
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') vulnerability in Mohammad I. Okfie IF AS Shortcode allows Code Injection.This issue affects IF AS Shortcode: from n/a through 1.2.
Title WordPress IF AS Shortcode plugin <= 1.2 - Remote Code Execution (RCE) vulnerability
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:14 PM
Reserved
Dec 24, 2025, 2:00 PM
Status
Deferred
Published
Dec 29, 2025, 4:15 PM
Modified
Oct 7, 2026, 12:10 PM