WordPress
CVE-2025-13747
MEDIUM
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The 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
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
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 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 Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today