CVE-2026-8791
Last modified
CVE-2026-8791 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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' => ...])`.
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).
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ameliabooking | Booking System Trafft | <= 1.0.17 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-8791?
How severe is CVE-2026-8791?
How do I fix CVE-2026-8791?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-87900Argument injection in WP Toolkit for cPanel 6.11.2-10794 and…9.4
- CVE-2026-87901Improper sanitization in the registration module allows refl…8.3
- CVE-2026-87902An unauthenticated attacker can make `get_page_template()` p…8.1
- CVE-2026-87907The Rox Appointment Booking WordPress plugin before 1.2.8 d…5.3
- CVE-2026-87908multiparty is a Node.js library for parsing multipart/form-d…7.5
- CVE-2026-87909The WP Photo Album Plus plugin for WordPress is vulnerable t…7.5
- CVE-2026-87910When tarfile extracts a link on a system that doesn't suppor…5.7
- CVE-2026-87911An OS command injection weakness in the read-only enforcemen…9.6
- CVE-2026-87912A missing S3 bucket ownership verification in the AWS Securi…5.9
- CVE-2026-87913A missing S3 bucket ownership verification in the AWS Securi…5.9
- CVE-2026-87915The Popup Maker – Boost Sales, Conversions, Optins, Subscrib…7.2
- CVE-2026-87916The WPBot WordPress plugin before 8.6.0 does not perform an…5.3
Are you affected by CVE-2026-8791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
