Skip to main content

Wordpress Plugin CVE-2025-62149

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-31 audit@patchstack.com
5.9
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – 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

NVD PRIMARY 5.9 MEDIUM
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

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

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 15:43 NVD
5.9 (MEDIUM)
CVE Published
Dec 31, 2025 - 14:15 nvd
N/A

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

EPSS Score
0.0%
Top 98% 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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.

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