The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-13497

CVE-2025-13497: Recras WordPress Plugin XSS Vulnerability

CVE-2025-13497 is a stored cross-site scripting flaw in the Recras WordPress plugin that lets authenticated attackers inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-13497 Overview

The Recras WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the recrasname shortcode attribute in all versions up to, and including, 6.4.1. This vulnerability stems from insufficient input sanitization and output escaping, allowing authenticated attackers with Contributor-level access and above to inject arbitrary web scripts into pages. These malicious scripts execute whenever a user accesses an injected page, potentially compromising site visitors and administrators alike.

Critical Impact

Authenticated attackers can inject persistent malicious scripts that execute in the context of any user viewing the affected page, potentially leading to session hijacking, credential theft, or further compromise of the WordPress site.

Affected Products

  • Recras WordPress plugin versions up to and including 6.4.1
  • WordPress sites using vulnerable versions of the Recras plugin
  • Any WordPress installation with Contributor-level or higher user access where the plugin is active

Discovery Timeline

  • 2026-01-07 - CVE CVE-2025-13497 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-13497

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw exists in the OnlineBooking.php file at line 144, where user-supplied input through the recrasname shortcode attribute is not properly sanitized before being rendered in the page output.

Stored XSS vulnerabilities are particularly dangerous because the malicious payload persists in the database and executes each time a user loads the affected page. Unlike reflected XSS, which requires tricking users into clicking malicious links, stored XSS attacks affect all visitors to the compromised page automatically.

The attack surface requires authenticated access at the Contributor level or higher, which in WordPress allows users to write and manage their own posts. This access level is commonly granted to guest bloggers, content creators, or community contributors, making the exploitation surface relatively broad in multi-author WordPress environments.

Root Cause

The root cause of this vulnerability is insufficient input sanitization and output escaping in the processing of the recrasname shortcode attribute. The plugin fails to properly validate and escape user-supplied data before incorporating it into the HTML output, allowing attackers to inject arbitrary JavaScript code that becomes part of the rendered page.

Proper mitigation would require implementing WordPress's built-in escaping functions such as esc_attr(), esc_html(), or wp_kses() to sanitize the shortcode attribute before output rendering.

Attack Vector

The attack is network-based and requires low privileges (Contributor-level WordPress access) with no user interaction needed for exploitation beyond page viewing. An attacker with Contributor access can create or edit a post containing the vulnerable shortcode with a malicious payload. Once the post is published or previewed, any user viewing that page will have the malicious script execute in their browser context.

The vulnerability allows attackers to potentially:

  • Steal session cookies and authentication tokens
  • Perform actions on behalf of logged-in users, including administrators
  • Redirect users to malicious websites
  • Deface website content
  • Deploy keyloggers or other client-side malware

Technical details regarding the vulnerable code can be found in the WordPress Plugin Source Code.

Detection Methods for CVE-2025-13497

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags within post content using the Recras shortcode
  • Suspicious recrasname attribute values containing encoded characters or script tags
  • Unusual user activity from Contributor-level accounts creating posts with shortcodes
  • Browser console errors or unexpected redirects when viewing pages with Recras embeds
  • Reports from users about unexpected pop-ups or behavior on specific pages

Detection Strategies

  • Audit all posts containing the [recras] shortcode for suspicious attribute values
  • Implement Web Application Firewall (WAF) rules to detect XSS patterns in POST data
  • Monitor WordPress database for shortcode attributes containing script tags or event handlers
  • Review access logs for Contributor-level users creating or editing posts with shortcodes
  • Deploy browser-based security tools that can detect and block XSS payloads

Monitoring Recommendations

  • Enable WordPress security logging to track post modifications by Contributor-level users
  • Configure intrusion detection systems to alert on common XSS payload patterns
  • Regularly scan stored content for potentially malicious script injections
  • Monitor for unusual outbound connections from client browsers that could indicate data exfiltration

How to Mitigate CVE-2025-13497

Immediate Actions Required

  • Update the Recras WordPress plugin to the latest patched version immediately
  • Audit existing posts for malicious content in Recras shortcode attributes
  • Review Contributor-level user accounts and remove unnecessary access
  • Consider temporarily disabling the plugin until the update can be applied
  • Implement Content Security Policy headers to mitigate XSS impact

Patch Information

A security patch has been released addressing this vulnerability. The fix can be reviewed in the WordPress Changeset Update. Site administrators should update to the latest version of the Recras plugin through the WordPress admin panel or by manually downloading the updated plugin files.

For additional vulnerability details and tracking, refer to the Wordfence Vulnerability Report.

Workarounds

  • Temporarily deactivate the Recras plugin until the patch can be applied
  • Restrict Contributor-level access to trusted users only
  • Implement a Web Application Firewall with XSS protection rules
  • Add Content Security Policy headers to reduce XSS impact
  • Manually review and sanitize any existing posts using Recras shortcodes
bash
# Configuration example - Add CSP headers to wp-config.php or .htaccess
# Apache .htaccess example:
Header set Content-Security-Policy "script-src 'self'; object-src 'none';"

# Or in wp-config.php add this before "That's all, stop editing!":
# header("Content-Security-Policy: script-src 'self'; object-src 'none';");

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
  • WordPress Plugin Source Code

  • WordPress Plugin Trunk Source Code

  • WordPress Changeset Update

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2023-54358: adivaha Travel Plugin XSS Vulnerability

  • CVE-2026-3005: WordPress List Category Posts XSS Flaw

  • CVE-2026-5742: WordPress UsersWP Plugin XSS Vulnerability

  • CVE-2026-4336: WordPress Ultimate FAQ Accordion XSS Flaw
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