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.
Published: 2025-12-29
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Thu, 23 Apr 2026 15:00:00 +0000

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'}


Wed, 01 Apr 2026 23:45:00 +0000

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'}


Tue, 20 Jan 2026 15:30:00 +0000


Tue, 20 Jan 2026 14:45:00 +0000


Mon, 29 Dec 2025 23:15:00 +0000

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

Mon, 29 Dec 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 29 Dec 2025 16:00:00 +0000

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'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:14:32.691Z

Reserved: 2025-12-24T14:00:47.909Z

Link: CVE-2025-68897

cve-icon Vulnrichment

Updated: 2025-12-29T16:42:21.384Z

cve-icon NVD

Status : Deferred

Published: 2025-12-29T16:15:43.457

Modified: 2026-04-23T15:36:11.967

Link: CVE-2025-68897

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T04:45:06Z

Weaknesses