CVE-2026-8791 MEDIUM

CVE-2026-8791: Booking System Trafft <= 1.0.17 - Authenticated (Subscriber+) Stored Cross-Site Scripting

Vendor Ameliabooking
Product Booking System Trafft
Weakness CWE-79 · XSS
Published July 29, 2026
Last update July 29, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The Booking System Trafft plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `bookingWebsiteUrl` setting in all versions up to, and including, 1.0.17 due to a missing capability check on the `set_options` AJAX action when the plugin is operating in agency mode. The `trafftSetOptions()` handler verifies a nonce that is exposed to any authenticated user (it is printed inline on every admin page, including profile.php) but performs no capability check before calling `update_option('trafft_option', ['bookingWebsiteUrl' => ...])`. This setting is then used by `trafftAdminAssets()` to enqueue `<bookingWebsiteUrl>/embed.js` as a script on every front-end page that renders the booking shortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to point the embed-script URL at an attacker-controlled origin and execute arbitrary JavaScript in the browser of every site visitor (including admins).

Explanation of Vulnerability in Simple Terms

02Summary

Booking System Trafft version 1.0.17 and earlier contains a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts affecting other users. The vulnerability has a changed scope, meaning the impact extends beyond the vulnerable component itself. An attacker with low-level credentials can inject code that executes in other users' browsers without requiring user interaction.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute in other users' browsers and affect the entire application.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other users' sessions and data; site integrity compromised.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege user account; no user interaction required from victims.

Key dates

06Disclosure timeline

July 29, 2026 CVE published
July 29, 2026 Record updated

Related vulnerabilities

08Related CVE