Wordpress Plugin
CVE-2025-68897
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While CVSS vector data is unavailable, the vulnerability is tagged as RCE (Remote Code Execution), indicating potential for severe impact. The EPSS score of 0.07% (percentile 22%) suggests relatively low exploitation probability in observed threat intelligence data, placing this in the lower-risk range despite the serious nature of code injection flaws. The absence of CVSS vector and CVSS score prevents full SSVC analysis, but the combination of low EPSS probability and no indication of active exploitation (no KEV status, no public POC noted) suggests this is a lower-priority vulnerability compared to other code injection issues with higher exploitation rates. However, the RCE classification means any successfully exploited instance would result in complete site compromise, making this a medium-priority patch candidate for WordPress administrators. |
| Exploit ScenarioDerived | An attacker crafts a malicious WordPress shortcode containing injected PHP code (e.g., [as-if-shortcode code='system("whoami")']) and submits it via a page, post, or comment field on a vulnerable WordPress site. If the site allows unauthenticated users to submit content, or if the attacker gains low-privilege access (such as through another vulnerability), the shortcode parser executes the injected code server-side with the privileges of the WordPress process, allowing the attacker to read sensitive files, modify site content, or establish a web shell for persistent access. No public proof-of-concept has been noted in available threat intelligence; however, code injection in WordPress plugins is a well-understood attack vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Remote code injection in IF AS Shortcode WordPress plugin versions up to 1.2 allows attackers to execute arbitrary code through improper handling of shortcode parameters. The vulnerability stems from CWE-94 (Improper Control of Code Generation) and affects WordPress installations using this plugin. Patchstack reported the vulnerability; however, no CVSS vector is provided and EPSS probability is low at 0.07%, suggesting limited real-world exploit activity at the time of analysis.
RemediationAI
Update IF AS Shortcode plugin to a patched version released after 1.2. Users should access their WordPress admin panel, navigate to Plugins > Installed Plugins, locate IF AS Shortcode, and click Update if available. If no update is available in the WordPress dashboard, users should visit the plugin's page at https://patchstack.com/database/Wordpress/Plugin/if-as-shortcode/vulnerability/wordpress-if-as-shortcode-plugin-1-2-remote-code-execution-rce-vulnerability for the latest patch status and instructions. As a temporary measure, disable the IF AS Shortcode plugin until a patched version is deployed, particularly on public-facing WordPress sites.
Affected ProductsAI
The vulnerability affects IF AS Shortcode WordPress plugin (by Mohammad I. Okfie IF AS) in all versions from the initial release through version 1.2. The plugin is hosted on WordPress.org and distributed through the official WordPress plugin repository. Affected installations include WordPress sites with IF AS Shortcode plugin versions 1.2 and earlier. No CPE identifier was provided in the available data; users should verify their plugin version in the WordPress admin dashboard under Plugins.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
IF AS Shortcode is a WordPress plugin that processes shortcode parameters to generate dynamic content. The vulnerability exists in the shortcode parsing and evaluation mechanism, which fails to properly sanitize or validate user-supplied input before passing it to code generation or execution functions. CWE-94 (Improper Control of Generation of Code) indicates that the plugin creates executable code from user input without adequate validation, allowing attackers to inject malicious PHP or JavaScript that gets executed in the context of the WordPress installation. The affected versions (through 1.2) include all releases up to and including version 1.2, suggesting the vulnerability may have existed since the plugin's initial release.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (patchstack) · only source for this CVE.
CVSS VectorVendor: patchstack
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB