{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-8791","id":"CVE-2026-8791","title":"Booking System Trafft <= 1.0.17 - Authenticated (Subscriber+) Stored Cross-Site Scripting","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 o","descriptionLong":"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).","published":"2026-07-29T09:31:15.606Z","updated":"2026-07-30T14:01:30.413Z","reserved":"2026-05-17T20:50:37.972Z","status":"Deferred","rejected":false,"assigner":"Wordfence","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"Wordfence"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"Wordfence"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"wordfence.com"}],"rating":"medium","products":["ameliabooking Booking System Trafft"],"affectedProducts":[{"vendor":"ameliabooking","product":"Booking System Trafft","defaultStatus":"unaffected","versions":[{"version":"<= 1.0.17","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e93060cf-2df3-4d45-a1f2-304f443d58bc?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L139","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L139","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L155","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L155","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L176","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L176","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L325","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L325","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/trunk/trafft.php#L354","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/booking-system-trafft/tags/1.0.17/trafft.php#L354","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00419,"epssPercentile":0.36937,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-8791","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8791","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-8791","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-8791","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}