Booking System Trafft <= 1.0.17 - Authenticated (Subscriber+) Stored Cross-Site Scripting
Summary
| CVE | CVE-2026-8791 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-29 11:16:50 UTC |
| Updated | 2026-07-30 14:01:30 UTC |
| 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). |
Risk And Classification
Primary CVSS: v3.1 6.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.002410000 probability, percentile 0.153890000 (date 2026-08-02)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Ameliabooking | Booking System Trafft | affected <= 1.0.17 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/e93060cf-2df3-4d45-a1f2-304f4... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Hardik Patel (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-17T21:05:49.000Z | Vendor Notified |
| CNA | 2026-07-28T21:30:10.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.