Codepeople WP Time Slots Booking Form
WordPress WP Time Slots Booking Form plugin <= 1.2.46 - Cross Site Scripting (XSS) vulnerability
Unauthenticated Cross Site Scripting (XSS) in WP Time Slots Booking Form <= 1.2.46 versions.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.2.46
Fixed in 1.2.47
Mitigation
Update the WordPress WP Time Slots Booking Form Plugin to the latest available version (at least 1.2.47).
Timeline
Days relative to CVE publicationFirst public PoC 4.4 days before publication; not in CISA KEV. First PoC: Rat5ak/CVE-2026-40791-WP-Time-Slots-Booking-Form-XSS (created 11 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Rat5ak/CVE-2026-40791-WP-Time-Slots-Booking-Form-XSS | 11 Jun 2026 −4.4 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /
- Query
page_id={var}- Body markers
cp_tslotsbooking_pform_process=1cp_pform_psequence=_1cp_tslotsbooking_id=1fieldname1_1=2026-04-15 8:<svgfieldname2_1=John Doefieldname3_1=attacker@example.comfieldname4_1=1234567890cp_ref_page={var}/?page_id={var}form_structure_1=refpage_1=cp_tslotsbooking_pform_status=cp_tslotsbooking_id=fieldname1_1=cp_ref_page=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: Rat5ak/CVE-2026-40791-WP-Time-Slots-Booking-Form-XSS
- Evidence
- Rat5ak/CVE-2026-40791-WP-Time-Slots-Booking-Form-XSS/README.md:141 Rat5ak/CVE-2026-40791-WP-Time-Slots-Booking-Form-XSS/poc/reproduce.sh:21
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?page_id=\{var\}
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-40791 codepeople WP Time Slots Booking Form exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"page_id={var}"; http.request_body; content:"cp_tslotsbooking_pform_process=1"; http.request_body; content:"cp_pform_psequence=_1"; http.request_body; content:"cp_tslotsbooking_id=1"; http.request_body; content:"fieldname1_1=2026-04-15 8:<svg"; http.request_body; content:"fieldname2_1=John Doe"; http.request_body; content:"fieldname3_1=attacker@example.com"; http.request_body; content:"fieldname4_1=1234567890"; http.request_body; content:"cp_ref_page="; http.request_body; content:"form_structure_1="; http.request_body; content:"refpage_1="; http.request_body; content:"cp_tslotsbooking_pform_status="; http.request_body; content:"cp_tslotsbooking_id="; http.request_body; content:"fieldname1_1="; http.request_body; content:"cp_ref_page="; reference:url,poc.griffinguard.io/cve/CVE-2026-40791; classtype:web-application-attack; sid:9291509; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: codepeople WP Time Slots Booking Form exploit attempt (CVE-2026-40791)
id: gg-pocmon-cve-2026-40791-9291509
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40791. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40791
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-query|contains|all:
- 'page_id={var}'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40791