Medium severity · published Jul 29, 2026
CVE-2026-8791
Booking System Trafft <= 1.0.17 - Authenticated (Subscriber+) Stored Cross-Site Scripting
6.4
CVSS
0.4%
EPSS
No
On KEV
Description
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).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BS
Booking System Trafft · ameliabooking
<= 1.0.17 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-8791
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-8791
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L139
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L155
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L176
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L325
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L354
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L139
More from Booking System Trafft
6.5
CVE-2025-58213
WordPress Booking System Trafft Plugin <= 1.0.14 - Cross Site Scripting (XSS) Vulnerability
6.4
CVE-2024-11754
Booking System Trafft <= 1.0.6 - Authenticated (Contributor+) Stored Cross-Site Scripting
