Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13731

CVE-2025-13731: Nexter Extension WordPress XSS Flaw

CVE-2025-13731 is a stored cross-site scripting vulnerability in the Nexter Extension plugin for WordPress that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-13731 Overview

CVE-2025-13731 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Nexter Extension – Site Enhancements Toolkit plugin for WordPress. The vulnerability exists in the plugin's nxt-year shortcode functionality in all versions up to and including 4.4.1. Due to insufficient input sanitization and output escaping, authenticated attackers with Contributor-level access or above can inject arbitrary web scripts into pages that execute whenever any user accesses the compromised page.

Critical Impact

Authenticated attackers can inject persistent malicious scripts that execute in the context of victim browsers, potentially leading to session hijacking, credential theft, site defacement, and redirection to malicious sites.

Affected Products

  • Nexter Extension – Site Enhancements Toolkit plugin for WordPress versions up to and including 4.4.1
  • WordPress sites using vulnerable Nexter Extension versions with Contributor or higher role access
  • Sites where untrusted users have Contributor-level WordPress privileges

Discovery Timeline

  • 2025-12-02 - CVE-2025-13731 published to NVD
  • 2025-12-02 - Last updated in NVD database

Technical Details for CVE-2025-13731

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The Nexter Extension plugin fails to properly sanitize user-supplied input and escape output in the nxt-year shortcode handler located in class-nexter-load-ext.php. The CVSS 3.1 score is 6.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

Key characteristics of this vulnerability:

  • Attack Vector: Network-based exploitation
  • Attack Complexity: Low - no special conditions required
  • Privileges Required: Low - Contributor-level access is sufficient
  • User Interaction: None required for script execution
  • Scope: Changed - impacts resources beyond the vulnerable component
  • EPSS Score: 0.034% probability of exploitation (9.491 percentile)

Root Cause

The root cause lies in the shortcode processing logic within class-nexter-load-ext.php. The plugin processes shortcode attributes without applying proper input sanitization functions such as sanitize_text_field() or wp_kses(). Additionally, when rendering the shortcode output, the plugin fails to apply output escaping functions like esc_html() or esc_attr(), allowing injected HTML and JavaScript to be rendered directly in the page context.

The vulnerable code paths are documented in the WordPress Plugin Trac at lines 66 and 136 of class-nexter-load-ext.php.

Attack Vector

An attacker with Contributor-level access or above can craft a malicious post or page containing the nxt-year shortcode with injected JavaScript payload within shortcode attributes. When the page is viewed by any user (including administrators), the malicious script executes in their browser session.

The attack flow follows this pattern:

  1. Attacker authenticates to WordPress with Contributor or higher privileges
  2. Attacker creates or edits a post/page containing the nxt-year shortcode with malicious payload
  3. The post/page is published or saved for review
  4. Victim users visiting the page trigger the stored XSS payload
  5. Malicious scripts execute with the victim's session context

For technical details on the vulnerable code and patch changes, see the WordPress Plugin Trac changeset comparing versions 4.4.1 to 4.4.2.

Detection Methods for CVE-2025-13731

Indicators of Compromise

  • Unexpected JavaScript code within posts or pages containing nxt-year shortcode
  • Posts created by Contributor-level users containing suspicious shortcode attributes
  • Browser console errors or unexpected script execution on pages with Nexter Extension shortcodes
  • Server logs showing unusual POST requests to WordPress admin creating or editing content with shortcode payloads

Detection Strategies

Web Application Firewall (WAF) Rules:
Configure WAF rules to detect and block requests containing potentially malicious patterns within shortcode attributes, particularly event handlers (onerror, onload, onclick) and script tags within content creation requests.

WordPress Security Plugin Monitoring:
Deploy security plugins that monitor for:

  • Changes to post content containing script elements
  • Shortcode attribute anomalies
  • Content modifications by users with elevated privileges

Log Analysis:
Review WordPress activity logs for:

  • Post creation/modification by Contributor accounts
  • Content containing the nxt-year shortcode with unusual parameters
  • Multiple content edits in short timeframes from lower-privileged accounts

Monitoring Recommendations

Organizations should implement continuous monitoring for content changes across their WordPress installations. Enable audit logging to track all post and page modifications, particularly those involving shortcodes. Consider implementing Content Security Policy (CSP) headers to mitigate the impact of successful XSS attacks. SentinelOne Singularity XDR provides endpoint visibility and can detect suspicious browser-based script execution patterns that may indicate XSS exploitation.

How to Mitigate CVE-2025-13731

Immediate Actions Required

  • Update Nexter Extension – Site Enhancements Toolkit plugin to version 4.4.2 or later immediately
  • Audit existing posts and pages for malicious content injected via the nxt-year shortcode
  • Review and restrict Contributor-level access to only trusted users
  • Consider temporarily disabling the Nexter Extension plugin until patching is complete

Patch Information

The vendor has released version 4.4.2 which addresses this vulnerability by implementing proper input sanitization and output escaping in the nxt-year shortcode handler. The patch changeset is available in the WordPress Plugin Trac and shows the modifications made to class-nexter-load-ext.php to remediate the XSS vulnerability.

Update via WordPress Admin:

  1. Navigate to Plugins → Installed Plugins
  2. Locate "Nexter Extension – Site Enhancements Toolkit"
  3. Click "Update Now" to install version 4.4.2 or later

External References:

  • Wordfence Vulnerability Advisory
  • WordPress Plugin Trac Changeset

Workarounds

If immediate patching is not possible, implement the following temporary mitigations:

  1. Restrict User Privileges: Demote untrusted Contributor accounts to Subscriber level until the patch is applied
  2. Disable Shortcode Processing: If the nxt-year shortcode is not essential, consider removing or disabling it through custom code
  3. Content Security Policy: Implement strict CSP headers to reduce the impact of XSS attacks
  4. WAF Protection: Deploy web application firewall rules to filter malicious shortcode inputs
bash
# Example Content-Security-Policy header for Apache (.htaccess)
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Plugins Trac Wordpress

  • Plugins Trac Wordpress

  • Plugins Trac Wordpress

  • Wordfence
  • Related CVEs
  • CVE-2026-2840: Email Encoder WordPress Plugin XSS Vulnerability

  • CVE-2026-3369: WordPress Better Find and Replace XSS Flaw

  • CVE-2026-3995: OPEN-BRAIN WordPress Plugin XSS Vulnerability

  • CVE-2026-3876: Prismatic WordPress Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English