CVE-2026-8791: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ameliabooking Booking System Trafft
The Booking System Trafft WordPress plugin up to version 1.0.17 contains a stored cross-site scripting (XSS) vulnerability via the bookingWebsiteUrl setting. This occurs due to a missing capability check on an AJAX action in agency mode, allowing authenticated users with Subscriber-level access or higher to inject malicious script URLs. The injected script is then loaded on every front-end page using the booking shortcode, enabling arbitrary JavaScript execution in visitors' browsers, including administrators. The vulnerability has a CVSS score of 6.4 (medium severity).
AI Analysis
Technical Summary
CVE-2026-8791 describes a stored cross-site scripting vulnerability in the Booking System Trafft WordPress plugin (up to and including version 1.0.17). The flaw arises because the AJAX action 'set_options' lacks a proper capability check when the plugin operates in agency mode. Although the trafftSetOptions() handler verifies a nonce accessible to any authenticated user, it does not verify user capabilities before updating the 'bookingWebsiteUrl' option. This URL is then used by the trafftAdminAssets() function to enqueue a script from the specified URL on all front-end pages rendering the booking shortcode. Consequently, an authenticated attacker with Subscriber-level privileges or higher can set this URL to an attacker-controlled origin, causing arbitrary JavaScript execution in the browsers of all site visitors, including administrators.
Potential Impact
An attacker with at least Subscriber-level access to the WordPress site can exploit this vulnerability to execute arbitrary JavaScript in the context of the affected site for all visitors. This can lead to session hijacking, privilege escalation, or other malicious actions performed in the context of the victim's browser. The vulnerability affects confidentiality and integrity but does not impact availability. The CVSS 3.1 base score is 6.4, indicating medium severity.
Mitigation Recommendations
No official patch or remediation has been confirmed at this time. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict user roles and permissions to trusted users only, especially limiting Subscriber-level users from accessing administrative AJAX actions. Monitor for plugin updates from the vendor and apply them promptly once released.
CVE-2026-8791: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ameliabooking Booking System Trafft
Description
The Booking System Trafft WordPress plugin up to version 1.0.17 contains a stored cross-site scripting (XSS) vulnerability via the bookingWebsiteUrl setting. This occurs due to a missing capability check on an AJAX action in agency mode, allowing authenticated users with Subscriber-level access or higher to inject malicious script URLs. The injected script is then loaded on every front-end page using the booking shortcode, enabling arbitrary JavaScript execution in visitors' browsers, including administrators. The vulnerability has a CVSS score of 6.4 (medium severity).
CVSS v3.1
Score 6.4medium
Affected software
ameliabooking
Booking System Trafft
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8791 describes a stored cross-site scripting vulnerability in the Booking System Trafft WordPress plugin (up to and including version 1.0.17). The flaw arises because the AJAX action 'set_options' lacks a proper capability check when the plugin operates in agency mode. Although the trafftSetOptions() handler verifies a nonce accessible to any authenticated user, it does not verify user capabilities before updating the 'bookingWebsiteUrl' option. This URL is then used by the trafftAdminAssets() function to enqueue a script from the specified URL on all front-end pages rendering the booking shortcode. Consequently, an authenticated attacker with Subscriber-level privileges or higher can set this URL to an attacker-controlled origin, causing arbitrary JavaScript execution in the browsers of all site visitors, including administrators.
Potential Impact
An attacker with at least Subscriber-level access to the WordPress site can exploit this vulnerability to execute arbitrary JavaScript in the context of the affected site for all visitors. This can lead to session hijacking, privilege escalation, or other malicious actions performed in the context of the victim's browser. The vulnerability affects confidentiality and integrity but does not impact availability. The CVSS 3.1 base score is 6.4, indicating medium severity.
Mitigation Recommendations
No official patch or remediation has been confirmed at this time. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict user roles and permissions to trusted users only, especially limiting Subscriber-level users from accessing administrative AJAX actions. Monitor for plugin updates from the vendor and apply them promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-17T20:50:37.972Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a69d4889c2644c7f856baf8
Added to database: 07/29/2026, 10:23:04 UTC
Last enriched: 08/05/2026, 14:58:18 UTC
Last updated: 09/12/2026, 10:01:33 UTC
Views: 77
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.