Custom Script Integration CVE-2025-30564
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial engineer admin to visit malicious page
-
DeliveryAuto-submit CSRF form to plugin endpoint
-
ExploitInject stored XSS payload into database
-
ExecutionVictim browsers execute malicious script
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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 wpwox Custom Script Integration allows Stored XSS. This issue affects Custom Script Integration: from n/a through 2.1.
Executive ViewAI
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.
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
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