Wordpress Plugin
CVE-2025-13747
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 | This vulnerability presents moderate real-world risk despite the medium-high CVSS score (6.4). The CVSS vector indicates network accessibility (AV:N) and low attack complexity (AC:L), but critically requires low-level privileges (PR:L, contributor or above) and does not require user interaction from the attacker (UI:N). However, the vulnerability does require user interaction from victims-site visitors must access the injected page for the attack to succeed. The EPSS score of 0.04% percentile 13 reflects this layered requirement: attackers must first gain contributor access to the WordPress installation, then craft a malicious shortcode, then wait for site visitors to view the page. The scope change (S:C) indicates potential impact across security boundaries. For organizations with strict access controls limiting contributor roles, this risk is containable; for sites with loose contributor permissions or where many users have publishing rights, the risk is more significant. Stored XSS poses direct harm (credential theft, session hijacking) rather than just information disclosure. |
| Exploit ScenarioDerived | An attacker with WordPress contributor access (or who compromises an account with that privilege level) edits or creates a page using the NewStatPress shortcode with a maliciously-crafted attribute that bypasses the plugin's regex validation-for example, embedding JavaScript in a quoted attribute string that the sanitization logic fails to catch. When legitimate site visitors later visit that page, the unescaped JavaScript executes in their browser context, allowing the attacker to steal session cookies, redirect users to a phishing site, or inject keylogger code. No public proof-of-concept has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Stored Cross-Site Scripting in NewStatPress WordPress plugin versions up to 1.4.3 allows authenticated attackers with contributor-level or higher privileges to inject arbitrary JavaScript into pages via a regex bypass in the nsp_shortcode function. When site visitors access pages containing the injected malicious shortcode attribute, the attacker's script executes in their browsers, enabling session hijacking, credential theft, or malware distribution. No public exploit code has been identified; EPSS score of 0.04% reflects the requirement for authenticated access and user interaction.
RemediationAI
Update NewStatPress to the patched version released by the plugin developers. Organizations should immediately review contributor and author-level user accounts on their WordPress installations and audit recent shortcode additions for suspicious attributes. If immediate patching is not possible, restrict contributor-level permissions to only trusted administrators until the patch is deployed. Review the Wordfence vulnerability advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e7ddc418-9458-4335-afdc-6d40c7e23060 for additional context and confirm the latest patch version availability. Clear any stored malicious shortcodes from published pages before patching.
Affected ProductsAI
NewStatPress WordPress plugin versions 1.4.3 and earlier are affected. The vulnerability exists in the nsp_shortcode function located in includes/nsp-core.php. Organizations running NewStatPress should check their plugin version against the official WordPress plugin repository at https://plugins.trac.wordpress.org/browser/newstatpress/tags/1.4.3/includes/nsp-core.php.
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
NewStatPress is a WordPress plugin that processes shortcode attributes through the nsp_shortcode function. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) caused by insufficient input sanitization and output escaping on user-supplied shortcode attributes. The plugin's regex validation logic designed to restrict malicious input can be bypassed, allowing specially-crafted attribute values to pass through unescaped and reach the page output. WordPress shortcodes are parsed server-side and their output is rendered client-side; when untrusted data reaches the page without proper escaping, browsers interpret it as executable code. The vulnerability affects all versions of NewStatPress up to and including 1.4.3.
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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (wordfence) · only source for this CVE.
CVSS VectorVendor: wordfence
DescriptionCVE.org
The NewStatPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via a regex bypass in nsp_shortcode function in all versions up to, and including, 1.4.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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