Wordpress Plugin
CVE-2025-62149
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While the CVSS score is not available for independent verification, the EPSS score of 0.01% (2nd percentile) indicates this vulnerability has extremely low exploitation probability in the wild despite being a stored XSS. This low probability rating may reflect the relatively small deployment footprint of this specific plugin, the requirement for authenticated access (typically site administrators or contributors with plugin management capabilities), and limited evidence of active exploitation campaigns. However, stored XSS vulnerabilities in WordPress plugins often carry elevated real-world risk when the affected plugin is widely deployed, as they enable persistent compromise with minimal attacker effort once access is obtained. The CVSS severity cannot be determined from available data, so risk assessment should be grounded in the low EPSS score coupled with the authenticated access requirement typical of WordPress plugin administration functions. Organizations using this plugin should prioritize patching based on their overall WordPress security posture and the sensitivity of their site content. |
| Exploit ScenarioDerived | An authenticated attacker with contributor or administrator-level access to a WordPress site running Add Custom Codes version 4.80 or earlier injects a malicious script payload (e.g., JavaScript to harvest admin session tokens or redirect users to a phishing site) into a custom code field. This payload is stored in the site database and executes each time an administrator or visitor views the page containing that custom code snippet. The attacker can then use stolen credentials to gain unauthorized administrative control of the site, modify content, inject further malware, or harvest sensitive data. No public exploit code is known at time of analysis, and the low EPSS score suggests active exploitation is not widespread, but the vulnerability remains trivial to exploit for attackers with legitimate plugin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Stored cross-site scripting (XSS) vulnerability in SaifuMak Add Custom Codes WordPress plugin versions 4.80 and earlier allows authenticated attackers to inject malicious JavaScript that persists in the database and executes in the browsers of site administrators and other users. The vulnerability stems from improper input sanitization when storing custom code, enabling attackers with plugin access to compromise site integrity and steal administrative credentials or sessions.
RemediationAI
Users of the Add Custom Codes plugin should update to a patched version greater than 4.80 immediately. Administrators should access the WordPress dashboard, navigate to Plugins > Installed Plugins, locate Add Custom Codes, and click the 'Update' button if available. If no update appears in the dashboard, the plugin may no longer be actively maintained; in that case, consider removing the plugin and replacing it with a maintained alternative, or implementing custom code through a child theme's functions.php file with proper escaping functions. As an interim workaround pending updates, restrict plugin access to the least number of user accounts necessary (WordPress user roles with 'manage_options' capability). The Patchstack database entry linked in references (https://patchstack.com/database/Wordpress/Plugin/add-custom-codes/vulnerability/wordpress-add-custom-codes-plugin-4-80-cross-site-scripting-xss-vulnerability?_s_id=cve) should be consulted for patched version availability and additional mitigation guidance.
Affected ProductsAI
The vulnerability affects the SaifuMak Add Custom Codes WordPress plugin (CPE identifier not formally assigned in public records) in versions 4.80 and earlier. This is a WordPress plugin available through the official WordPress plugin repository and third-party distributors. The vulnerability was reported and documented by Patchstack, a WordPress vulnerability researcher, and affects all installations running version 4.80 or older of the Add Custom Codes plugin.
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
The Add Custom Codes WordPress plugin (CWE-79: Improper Neutralization of Input During Web Page Generation) fails to adequately sanitize or escape user-supplied input before storing it in the database and rendering it on web pages. WordPress plugins that allow custom code injection require strict validation and escaping of input parameters. The vulnerability affects the core functionality of the plugin, which is designed to permit site administrators to inject custom HTML, CSS, or JavaScript snippets. Without proper input validation and output escaping, an attacker can craft malicious payloads within those custom code sections that will be stored and executed whenever the page containing that code is viewed. This is a stored XSS rather than reflected XSS because the malicious payload persists in the database rather than being passed through URL parameters.
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:H/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
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Stored XSS.This issue affects Add Custom Codes: from n/a through <= 4.80.
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.
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