Insert Code WordPress Plugin CVE-2025-28932
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious page with CSRF form
-
DeliveryAdministrator visits while authenticated
-
ExploitAuto-submit code injection request
-
ExecutionStore XSS payload in plugin
-
PersistExecute script on all visitors
-
ImpactSteal credentials or deface site
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated WordPress administrator with privileges to manage Insert Code plugin settings to visit attacker-controlled webpage while logged into WordPress admin panel. The CSRF vulnerability specifically targets administrative functions that store custom code snippets without proper nonce validation. Attack succeeds only if administrator's browser session has active WordPress authentication cookies and the plugin's code insertion forms lack CSRF token verification. Default WordPress configurations are vulnerable if Insert Code versions through 2.4 are installed. Exploitation is limited by need for user interaction (UI:R in CVSS vector) and does not affect unauthenticated site visitors directly, though stored XSS payload impacts all users after initial CSRF exploitation by admin. |
| Impact | CVSS 7.1 (High) reflects network-based attack vector with low complexity but requires user interaction (UI:R) - specifically, an authenticated WordPress administrator must visit the attacker's malicious page. The changed scope elevates severity as stored XSS can affect all site visitors beyond the initial victim. However, real-world exploitation probability is constrained by multiple factors: EPSS 0.05% (14th percentile) suggests attackers are not actively targeting this vulnerability in the wild, no CISA KEV listing confirms active exploitation, and no public POC identified per Patchstack reference. The attack requires social engineering to trick administrators with sufficient privileges to manage code insertion settings. WordPress plugins are attractive targets but Insert Code appears to have limited market share compared to mainstream plugins. Priority should be medium for organizations using this specific plugin, particularly if administrators routinely follow external links. The primary concern is targeted attacks against specific WordPress installations rather than automated mass exploitation. |
| Exploit ScenarioDerived | Attacker identifies WordPress site running Insert Code 2.4, then crafts malicious HTML page containing hidden form that submits JavaScript payload to the plugin's code insertion endpoint with admin-level actions. Attacker sends phishing email to site administrator with link to malicious page disguised as legitimate WordPress resource. When administrator clicks link while authenticated to their WordPress dashboard, browser automatically submits CSRF request storing attacker's XSS payload. Subsequently, the malicious script executes whenever the injected code section renders on the site, stealing session cookies, defacing content, or redirecting visitors to malicious domains. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 25, 2026
Stored XSS via CSRF in Insert Code WordPress plugin versions through 2.4 allows unauthenticated remote attackers to inject malicious scripts by tricking authenticated administrators into executing forged requests. The CSRF weakness (CWE-352) enables attackers to bypass normal access controls and store XSS payloads in the plugin's code insertion functionality. With CVSS 7.1 (High) and changed scope (S:C), successful exploitation impacts confidentiality, integrity, and availability across security boundaries. EPSS score of 0.05% (14th percentile) indicates low probability of mass exploitation, and no public exploit code or CISA KEV listing identified at time of analysis.
Earlier versions of this analysis (1)
Cross-Site Request Forgery (CSRF) vulnerability in BCS Website Solutions Insert Code allows Stored XSS. This issue affects Insert Code: from n/a through 2.4. [CVSS 7.1 HIGH]
RemediationAI
Primary mitigation: Immediately update Insert Code plugin to version 2.5 or later if available (patch version not independently confirmed from provided data - verify current version at WordPress.org plugin repository or Patchstack advisory https://patchstack.com/database/wordpress/plugin/insert-code/vulnerability/wordpress-insert-code-plugin-2-4-csrf-to-stored-xss-vulnerability). If no patched version exists, disable and remove the Insert Code plugin entirely and migrate functionality to alternative code injection plugins with verified CSRF protections such as Code Snippets or Header Footer Code Manager. Compensating controls if plugin must remain active: Implement WordPress security plugins with CSRF protection capabilities, restrict plugin administrative access to minimal trusted users via role-based access control, educate administrators to never click external links while logged into WordPress admin panel, and enable WordPress audit logging to detect unauthorized code injection attempts. Note that disabling the plugin eliminates attack surface but removes intended functionality.
Affected ProductsAI
Insert Code WordPress plugin by BCS Website Solutions, versions from initial release through 2.4. The Patchstack advisory at https://patchstack.com/database/wordpress/plugin/insert-code/vulnerability/wordpress-insert-code-plugin-2-4-csrf-to-stored-xss-vulnerability provides vulnerability details. No CPE identifiers available in provided data. All WordPress installations running vulnerable Insert Code versions with administrative users potentially susceptible to CSRF attacks are affected.
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
Insert Code is a WordPress plugin by BCS Website Solutions that allows administrators to inject custom HTML, CSS, or JavaScript into WordPress sites. The vulnerability chain combines CWE-352 (Cross-Site Request Forgery) with stored XSS. CSRF occurs when the plugin fails to validate anti-CSRF tokens or nonces on administrative functions that accept and store code snippets. This allows attackers to craft malicious forms on external sites that, when submitted by an authenticated WordPress admin, insert attacker-controlled JavaScript into the plugin's storage. The stored XSS payload then executes in the context of the WordPress site whenever the injected code is rendered, affecting all users including other administrators. The changed scope (S:C) in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L indicates the injected code can escape the plugin's security context and impact the broader WordPress application.
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:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in BCS Website Solutions Insert Code allows Stored XSS. This issue affects Insert Code: from n/a through 2.4.
Executive ViewAI
CVE-2025-28932 affects the Insert Code WordPress plugin (versions through 2.4) and allows attackers to inject malicious scripts into websites by manipulating authenticated administrators through CSRF attacks, potentially compromising site integrity and visitor data without requiring direct plugin access. Organizations running this plugin face a risk of website defacement, malware distribution, and credential theft if administrators are socially engineered into clicking malicious links. The lack of an available patch creates immediate operational risk for any deployment of this plugin.
Interim mitigations pending vendor patch availability: (1) Disable the Insert Code plugin entirely; (2) Restrict WordPress administrator access to known IP ranges via firewall or WAF; (3) Implement CSRF token validation at WAF level for wp-admin endpoints; (4) Enforce HTTP-only and secure flags on WordPress session cookies; (5) Monitor for unauthorized code insertions via file integrity monitoring on wp-content and wp-includes directories; (6) Require multi-factor authentication for all WordPress administrator accounts to reduce social engineering risk.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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
GitHub PoC
Exploit-DB