CVE-2024-29137 Overview
CVE-2024-29137 is a reflected cross-site scripting (XSS) vulnerability in the Themefic Tourfic WordPress plugin. The flaw affects all versions up to and including 2.11.7. The plugin fails to properly neutralize user-supplied input during web page generation, allowing attackers to inject malicious scripts that execute in the context of a victim's browser. The vulnerability is tracked under CWE-79 and requires user interaction to trigger. Successful exploitation can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the targeted user.
Critical Impact
Attackers can craft malicious URLs that, when visited by authenticated WordPress users, execute arbitrary JavaScript to steal session tokens or perform unauthorized actions.
Affected Products
- Themefic Tourfic WordPress plugin versions up to and including 2.11.7
- WordPress installations using the Tourfic travel and booking plugin
- Sites running the vulnerable themefic:tourfic component on the WordPress platform
Discovery Timeline
- 2024-03-19 - CVE CVE-2024-29137 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-29137
Vulnerability Analysis
The Tourfic plugin processes user-supplied input and reflects it back into HTTP responses without applying proper output encoding or sanitization. This design flaw enables reflected XSS, where injected JavaScript executes in the victim's browser upon visiting a crafted link. Because the vulnerability affects the user's browser session, attackers can target WordPress administrators, subscribers, or site visitors interacting with the plugin's frontend components.
The scope-changed nature of the vulnerability means the injected script can affect resources beyond the vulnerable component itself. For WordPress sites, this includes access to cookies, local storage, and the Document Object Model (DOM) of the hosting page. The attack vector is network-based, requires no authentication, and relies on tricking a user into clicking a malicious URL.
Root Cause
The root cause is improper neutralization of input during web page generation, classified under CWE-79. The plugin accepts parameters from HTTP requests and embeds their values directly into rendered HTML output without escaping special characters such as <, >, ", or '. This permits payloads containing <script> tags or event handlers to execute as JavaScript rather than being treated as inert text.
Attack Vector
An attacker constructs a URL containing a malicious JavaScript payload within a vulnerable request parameter processed by the Tourfic plugin. The attacker delivers this link via phishing emails, forum posts, social media, or malicious advertisements. When a logged-in user clicks the link, the plugin reflects the payload into the response, and the browser executes the script within the trust context of the WordPress site. See the Patchstack Tourfic Plugin Advisory for additional technical details.
Detection Methods for CVE-2024-29137
Indicators of Compromise
- HTTP request logs containing suspicious query parameters with <script>, javascript:, onerror=, or onload= payloads targeting Tourfic plugin endpoints.
- Unexpected outbound requests from user browsers to attacker-controlled domains following interaction with Tourfic-related URLs.
- WordPress session cookies appearing in web server referer logs or external telemetry.
Detection Strategies
- Deploy web application firewall (WAF) rules that inspect query strings and POST bodies for XSS payload signatures targeting WordPress plugin paths.
- Enable WordPress audit logging to capture plugin-related requests and correlate anomalous parameter values with user accounts.
- Scan installed plugins for the vulnerable Tourfic version 2.11.7 or earlier using WordPress inventory tools.
Monitoring Recommendations
- Monitor web server access logs for URL-encoded script tags, HTML entities, and base64 payloads sent to Tourfic plugin endpoints.
- Alert on administrator session activity originating from unusual IP addresses or user agents shortly after Tourfic page access.
- Track Content Security Policy (CSP) violation reports to identify injected inline scripts attempting to execute on the site.
How to Mitigate CVE-2024-29137
Immediate Actions Required
- Update the Themefic Tourfic plugin to a version later than 2.11.7 as soon as a patched release is available.
- Audit WordPress administrator accounts for signs of compromise and rotate credentials for privileged users.
- Review installed plugins and remove Tourfic from production sites if a patched version is not yet available for your environment.
Patch Information
Refer to the Patchstack Tourfic Plugin Vulnerability advisory for current patch status and vendor-provided remediation guidance. Site administrators should upgrade to the latest Tourfic release that addresses CVE-2024-29137.
Workarounds
- Deploy a web application firewall (WAF) with rules that block common XSS payload patterns targeting WordPress plugin parameters.
- Enforce a strict Content Security Policy (CSP) that disallows inline scripts and restricts script sources to trusted origins.
- Restrict access to Tourfic plugin pages using IP allowlisting or authentication gates until a patch is applied.
- Educate users and administrators about the risks of clicking unsolicited links referencing the WordPress site.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

