CVE-2025-13497: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zanderz Recras
The Recras WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'recrasname' shortcode attribute in all versions up to, and including, 6.4.1. This is due to insufficient input sanitization and output escaping. 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.
AI Analysis
Technical Summary
CVE-2025-13497 is a stored cross-site scripting (XSS) vulnerability identified in the Recras plugin for WordPress, maintained by zanderz. The vulnerability exists in the handling of the 'recrasname' shortcode attribute, where insufficient input sanitization and output escaping allow an authenticated attacker with Contributor-level or higher privileges to inject arbitrary JavaScript code into pages. This malicious script is stored persistently and executes whenever any user accesses the infected page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The vulnerability affects all versions of the Recras plugin up to and including 6.4.1. The CVSS 3.1 base score is 6.4, reflecting a medium severity with an attack vector over the network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with no availability impact. The scope is changed, meaning the vulnerability can affect components beyond the initially vulnerable plugin. No official patches or updates are currently linked, and no known exploits have been reported in the wild. The vulnerability stems from a common web application security flaw categorized under CWE-79, emphasizing the need for proper input validation and output encoding in web applications. Given WordPress's widespread use and the plugin's role in booking and reservation systems, exploitation could lead to significant data exposure and trust erosion.
Potential Impact
The impact of CVE-2025-13497 is primarily on the confidentiality and integrity of affected WordPress sites using the Recras plugin. Successful exploitation allows an attacker with Contributor-level access to inject persistent malicious scripts, which execute in the browsers of users visiting the compromised pages. This can lead to session hijacking, theft of sensitive user data, unauthorized actions performed with victim privileges, and potential spread of malware. Although availability is not directly affected, the reputational damage and potential data breaches can have severe consequences for organizations, especially those handling customer bookings or personal information. The vulnerability's exploitation requires authenticated access, limiting exposure to internal or registered users, but many WordPress sites allow Contributor-level roles for content creators or partners, broadening the attack surface. The medium severity score reflects these factors, but the real-world impact can escalate if attackers combine this vulnerability with social engineering or privilege escalation techniques. Organizations relying on Recras for critical booking functions may face operational disruptions if trust is compromised or if attackers leverage the vulnerability for further attacks.
Mitigation Recommendations
To mitigate CVE-2025-13497, organizations should first check for and apply any official patches or updates from the Recras plugin vendor as soon as they become available. In the absence of patches, administrators should restrict Contributor-level access strictly to trusted users and review user roles to minimize the number of accounts with permissions to inject content. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script payloads targeting the 'recrasname' shortcode attribute can provide temporary protection. Additionally, site administrators can sanitize and validate all inputs related to the shortcode manually or via custom code hooks to enforce strict input constraints. Employing Content Security Policy (CSP) headers can reduce the impact of injected scripts by restricting script execution sources. Regular security audits and monitoring for unusual script injections or page modifications are recommended. Educating users about the risks and signs of XSS attacks can help in early detection. Finally, consider isolating critical booking or customer data environments from general content management systems to limit lateral movement in case of compromise.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, Netherlands, France, Italy, Spain, Brazil
CVE-2025-13497: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zanderz Recras
Description
The Recras WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'recrasname' shortcode attribute in all versions up to, and including, 6.4.1. This is due to insufficient input sanitization and output escaping. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13497 is a stored cross-site scripting (XSS) vulnerability identified in the Recras plugin for WordPress, maintained by zanderz. The vulnerability exists in the handling of the 'recrasname' shortcode attribute, where insufficient input sanitization and output escaping allow an authenticated attacker with Contributor-level or higher privileges to inject arbitrary JavaScript code into pages. This malicious script is stored persistently and executes whenever any user accesses the infected page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The vulnerability affects all versions of the Recras plugin up to and including 6.4.1. The CVSS 3.1 base score is 6.4, reflecting a medium severity with an attack vector over the network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with no availability impact. The scope is changed, meaning the vulnerability can affect components beyond the initially vulnerable plugin. No official patches or updates are currently linked, and no known exploits have been reported in the wild. The vulnerability stems from a common web application security flaw categorized under CWE-79, emphasizing the need for proper input validation and output encoding in web applications. Given WordPress's widespread use and the plugin's role in booking and reservation systems, exploitation could lead to significant data exposure and trust erosion.
Potential Impact
The impact of CVE-2025-13497 is primarily on the confidentiality and integrity of affected WordPress sites using the Recras plugin. Successful exploitation allows an attacker with Contributor-level access to inject persistent malicious scripts, which execute in the browsers of users visiting the compromised pages. This can lead to session hijacking, theft of sensitive user data, unauthorized actions performed with victim privileges, and potential spread of malware. Although availability is not directly affected, the reputational damage and potential data breaches can have severe consequences for organizations, especially those handling customer bookings or personal information. The vulnerability's exploitation requires authenticated access, limiting exposure to internal or registered users, but many WordPress sites allow Contributor-level roles for content creators or partners, broadening the attack surface. The medium severity score reflects these factors, but the real-world impact can escalate if attackers combine this vulnerability with social engineering or privilege escalation techniques. Organizations relying on Recras for critical booking functions may face operational disruptions if trust is compromised or if attackers leverage the vulnerability for further attacks.
Mitigation Recommendations
To mitigate CVE-2025-13497, organizations should first check for and apply any official patches or updates from the Recras plugin vendor as soon as they become available. In the absence of patches, administrators should restrict Contributor-level access strictly to trusted users and review user roles to minimize the number of accounts with permissions to inject content. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script payloads targeting the 'recrasname' shortcode attribute can provide temporary protection. Additionally, site administrators can sanitize and validate all inputs related to the shortcode manually or via custom code hooks to enforce strict input constraints. Employing Content Security Policy (CSP) headers can reduce the impact of injected scripts by restricting script execution sources. Regular security audits and monitoring for unusual script injections or page modifications are recommended. Educating users about the risks and signs of XSS attacks can help in early detection. Finally, consider isolating critical booking or customer data environments from general content management systems to limit lateral movement in case of compromise.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-20T22:10:04.546Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 695e1b2fa55ed4ed998cb643
Added to database: 1/7/2026, 8:37:03 AM
Last enriched: 2/27/2026, 9:55:14 AM
Last updated: 3/25/2026, 5:01:15 PM
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.