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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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-8785A flaw has been found in projectworlds hospital-management-s…7.3
- CVE-2026-8786A vulnerability has been found in Tencent WeKnora up to 0.3.…6.3
- CVE-2026-8787The Firebase Support & Chat Management plugin for WordPress …8.8
- CVE-2026-8788Net::Statsd::Lite versions through 0.10.0 for Perl allowed m…7.3
- CVE-2026-8789The Easy Appointments plugin for WordPress is vulnerable to …8.1
- CVE-2026-8790The Football Pool plugin for WordPress is vulnerable to Refl…6.1
- CVE-2026-8793PaperCut NG/MF does not properly restrict excessive authenti…6.9
- CVE-2026-8794PaperCut NG/MF contains an observable timing discrepancy in …6.9
- CVE-2026-8795A YAML injection vulnerability exists in the Windows.Collect…7.8
- CVE-2026-8796Sereal::Decoder versions before 5.005 for Perl allow heap ou…8.1
- CVE-2026-8797An access control deficiency vulnerability exists in Express…8.5
- CVE-2026-8798In Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 2.1.3…8.7
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
