CVE-2026-8791 json
Booking System Trafft <= 1.0.17 - Authenticated (Subscriber+) Stored Cross-Site Scripting
published 2026-07-29 3 mo ago modified 2026-07-30 3 mo ago also EUVD-2026-50273
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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).
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected products
- ameliabooking Booking System Trafft
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/e93060cf-2df3-4d45-a1f2-304f443d58bc?source=cve
- plugins.trac.wordpress.org /browser/booking-system-trafft/trunk/trafft.php#L139
- plugins.trac.wordpress.org /browser/booking-system-trafft/tags/1.0.17/trafft.php#L139
- plugins.trac.wordpress.org /browser/booking-system-trafft/trunk/trafft.php#L155
- plugins.trac.wordpress.org /browser/booking-system-trafft/tags/1.0.17/trafft.php#L155
- plugins.trac.wordpress.org /browser/booking-system-trafft/trunk/trafft.php#L176
- plugins.trac.wordpress.org /browser/booking-system-trafft/tags/1.0.17/trafft.php#L176
- plugins.trac.wordpress.org /browser/booking-system-trafft/trunk/trafft.php#L325
- plugins.trac.wordpress.org /browser/booking-system-trafft/tags/1.0.17/trafft.php#L325
- plugins.trac.wordpress.org /browser/booking-system-trafft/trunk/trafft.php#L354
- plugins.trac.wordpress.org /browser/booking-system-trafft/tags/1.0.17/trafft.php#L354
Sources
- CVE List CVE-2026-8791
- NVD CVE-2026-8791
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.