Description
The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'label_field_date (also label_field_check_out, label_field)' parameter in all versions up to, and including, 2.3.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Elementor's kses_post_deep sanitization is bypassed because the attribute-breakout payload contains no HTML tags at save time, allowing it to be stored unmodified and later parsed by the browser as injected attributes when rendered into a double-quoted placeholder attribute.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- www.wordfence.com/threat-intel/vulnerabilities/id/b489ec43-f29e-4890-b37e-66834bb14cd2?sou
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
- plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.6/includes/elementor/widgets/
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.