Skip to main content

Custom Script Integration CVE-2025-30564

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-03-24 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
    Social engineer admin to visit malicious page
  2. Delivery
    Auto-submit CSRF form to plugin endpoint
  3. Exploit
    Inject stored XSS payload into database
  4. Execution
    Victim browsers execute malicious script
  5. Impact
    Steal credentials or deliver malware

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

Exploitation requires an authenticated WordPress administrator with permission to modify Custom Script Integration plugin settings to visit an attacker-controlled malicious webpage while their WordPress admin session remains active. The vulnerability affects default plugin configurations from version 2.1 and earlier that lack CSRF token validation on script input forms. Attack success depends on the administrator's browser maintaining valid WordPress authentication cookies during the CSRF attack window, and the target site not implementing additional CSRF protections at the web application firewall or server level. The stored XSS payload will only persist if the administrator role has capabilities to save plugin settings, which is typically restricted to Administrator and Super Admin roles in WordPress. Attack complexity is low once the social engineering prerequisite is met, as standard CSRF techniques apply without requiring sophisticated exploitation methods.

Impact

Real-world risk is moderate despite the 7.1 CVSS score, constrained by multiple exploitation prerequisites. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C) correctly identifies network-accessible attack surface with low complexity, but the mandatory user interaction (UI:R) significantly limits automated exploitation - confirmed by the low EPSS score of 0.04%, placing this in the 12th percentile for exploitation probability. The changed scope (S:C) reflects that injected scripts execute in victims' browser contexts beyond the WordPress admin session. However, successful exploitation requires the attacker to first socially engineer a WordPress administrator into visiting a malicious page while authenticated, then relies on that administrator having permission to modify plugin settings. The stored XSS payload enables persistent compromise including credential harvesting, malware distribution, and further site compromise, but the attack cannot be executed remotely without administrator interaction. No CISA KEV listing and absence of public exploit code suggest this remains a theoretical risk rather than actively exploited threat. Priority should be moderate: patch if Custom Script Integration is actively used and administrators frequently browse untrusted sites while logged in, but lower priority than remotely exploitable vulnerabilities without user interaction requirements.

Exploit ScenarioDerived

Attacker creates a malicious webpage containing hidden forms that auto-submit to the vulnerable WordPress site's Custom Script Integration settings endpoint. When a WordPress administrator visits the attacker's page while logged into their site, the CSRF attack silently injects malicious JavaScript into the plugin configuration without the administrator's knowledge. The stored payload then executes in the browsers of all site visitors, enabling the attacker to steal session cookies, inject phishing forms, or redirect users to malware distribution sites. No public exploit code is confirmed, but CSRF exploitation techniques are well-documented and readily adaptable to this specific plugin vulnerability.

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 Cross-Site Scripting can be injected into Custom Script Integration for WordPress via Cross-Site Request Forgery attack affecting versions up to and including 2.1. Attackers can trick authenticated administrators into submitting malicious script payloads that persist in the site database and execute in victims' browsers. EPSS score of 0.04% (12th percentile) indicates low automated exploitation likelihood, and no active exploitation or public exploit code has been identified at time of analysis, though the vulnerability has been publicly documented by Patchstack.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:33 CVSS 7.1

Cross-Site Request Forgery (CSRF) vulnerability in wpwox Custom Script Integration allows Stored XSS.1. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

Upgrade to Custom Script Integration version 2.2 or later if available, checking the WordPress plugin repository or vendor communications for patched releases. The Patchstack advisory at https://patchstack.com/database/wordpress/plugin/custom-script-integration/vulnerability/wordpress-custom-script-integration-2-1-cross-site-request-forgery-csrf-vulnerability should be consulted for specific patch availability and version recommendations, though the source data does not confirm whether version 2.2 or later has been released at time of analysis. If no patched version exists, implement compensating controls: disable the Custom Script Integration plugin entirely and migrate custom scripts to theme functions.php with proper input sanitization, or restrict plugin settings access to only super-administrators and enforce strict Content Security Policy headers to limit stored XSS impact. Train WordPress administrators to avoid browsing untrusted websites while authenticated to admin panels, though this administrative control is difficult to enforce consistently. Consider implementing Web Application Firewall rules to detect and block CSRF attacks targeting WordPress plugin endpoints, but note this adds latency and requires ongoing rule maintenance.

Affected ProductsAI

WordPress Custom Script Integration plugin versions from unknown initial release through version 2.1 are confirmed vulnerable according to Patchstack vulnerability database documentation. The Patchstack advisory at https://patchstack.com/database/wordpress/plugin/custom-script-integration/vulnerability/wordpress-custom-script-integration-2-1-cross-site-request-forgery-csrf-vulnerability provides technical details, though no CPE identifiers were provided in the source data to enable automated scanning tool configuration.

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

Custom Script Integration is a WordPress plugin that allows administrators to insert custom JavaScript, CSS, or HTML code into website headers or footers. The vulnerability chains CWE-352 (Cross-Site Request Forgery) with Stored XSS, meaning the plugin lacks CSRF tokens on forms that accept script input. This allows attackers to craft malicious web pages that, when visited by authenticated WordPress administrators, automatically submit script injection payloads to the plugin's settings endpoints. Unlike reflected XSS, the injected scripts are stored in the WordPress database and execute persistently for all site visitors, making this a higher-impact variant. The CSRF bypass removes the typical authentication barrier to XSS injection, as the victim administrator unknowingly provides their session credentials through normal browser behavior.

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:14 vuln.today
v2 - CVSS changed
CVE Published
Mar 24, 2025 - 14:15 nvd
HIGH 7.1

DescriptionCVE.org

Cross-Site Request Forgery (CSRF) vulnerability in wpwox Custom Script Integration allows Stored XSS. This issue affects Custom Script Integration: from n/a through 2.1.

Executive ViewAI

Why It Matters

Custom Script Integration for WordPress versions up to 2.1 contains a stored cross-site scripting vulnerability exploitable via cross-site request forgery that allows attackers to inject persistent malicious scripts into the site database. If an authenticated administrator is socially engineered into performing an action on a malicious site, the injected scripts execute in all visitors' browsers, compromising site integrity and visitor data. This vulnerability requires immediate administrative awareness and access controls because it bypasses normal security boundaries once a legitimate admin account is manipulated.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative access to trusted networks only via IP allowlisting; (2) enforce multi-factor authentication for all administrator accounts; (3) implement Content Security Policy (CSP) headers to restrict inline script execution; (4) disable plugin if not in active use; (5) audit database for existing malicious script payloads in Custom Script Integration tables; (6) log and monitor all administrator actions within the plugin interface.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% 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