Skip to main content

Insert Code WordPress Plugin CVE-2025-28932

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-03-11 audit@patchstack.com
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host malicious page with CSRF form
  2. Delivery
    Administrator visits while authenticated
  3. Exploit
    Auto-submit code injection request
  4. Execution
    Store XSS payload in plugin
  5. Persist
    Execute script on all visitors
  6. Impact
    Steal 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 19:52 CVSS 7.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

NVD PRIMARY 7.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Analysis Updated
Apr 25, 2026 - 00:34 vuln.today
v2 - CVSS changed
CVE Published
Mar 11, 2025 - 21:15 nvd
HIGH 7.1

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 86% exploitable
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy