---
id: CVE-2025-13747
title: >-
  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 use…
summary: >-
  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 use…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-12-12'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-13747'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/newstatpress/tags/1.4.3/includes/nsp-core.php#L637
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3426875%40newstatpress&new=3426875%40newstatpress&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e7ddc418-9458-4335-afdc-6d40c7e23060?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00234
epssPercentile: 0.13086
ingestedAt: '2026-10-07T20:46:46.876Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
