CVE-2025-6234
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6234 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Hostel WordPress plugin by Kibokolabs, affecting all versions before 1.1.5.8. The flaw arises from insufficient sanitization and escaping of a user-supplied parameter that is reflected back in the page output, enabling attackers to target high-privilege users such as administrators. It was publicly disclosed on June 19, 2025, and assigned a CVSS v3.1 base score of 6.1 (Medium) (WPScan, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting) and stems from the plugin's failure to sanitize and escape the ob query parameter before rendering it in the WordPress admin page (/wp-admin/admin.php?page=wphostel_bookings). An unauthenticated attacker can craft a malicious URL containing an injected JavaScript payload in the ob parameter (e.g., ob=tB.from_date"><script>alert(123)</script>), which executes in the browser of any authenticated admin who visits the link. Exploitation requires the target site to have at least one room and 21 or more bookings created, and the victim must be tricked into clicking the crafted URL (WPScan).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated administrator's browser session, potentially leading to session cookie theft, credential harvesting, unauthorized administrative actions (such as creating rogue admin accounts or installing malicious plugins), and full WordPress site compromise. Because the attack targets high-privilege users, the integrity and confidentiality of the entire WordPress installation are at risk, though availability is not directly impacted (WPScan, Red Hat CVE).

Exploitability

A proof-of-concept exploit is publicly available on WPScan, published on June 19, 2025, and was added to the NVD exploit reference list on July 11, 2025. There is no current evidence of active in-the-wild exploitation or threat actor attribution. The EPSS score is approximately 0.018% (0.000180), indicating a low probability of exploitation in the near term, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (WPScan, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Hostel plugin (versions before 1.1.5.8) using tools like WPScan or by inspecting plugin directories on target sites.
  2. Verify preconditions: Confirm the target site has at least one room created in the "Manage rooms" page and at least 21 bookings in the "Manage bookings" page, as these are required for the vulnerable code path to be reached.
  3. Craft malicious URL: Construct a URL targeting the vulnerable admin endpoint with an injected XSS payload in the ob parameter, e.g.:
    http://example.com/wp-admin/admin.php?page=wphostel_bookings&type=upcoming&ob=tB.from_date"><script>alert(document.cookie)</script>&dir=ASC
  4. Deliver the payload: Send the crafted URL to a target administrator via phishing email, social engineering, or by embedding it in a comment or message on the site.
  5. Achieve objective: When the admin clicks the link and loads the page while authenticated, the injected script executes in their browser — enabling cookie theft, session hijacking, or further unauthorized actions on the WordPress site (WPScan).

Indicators of compromise

  • Network: HTTP GET requests to /wp-admin/admin.php?page=wphostel_bookings containing URL-encoded script tags, angle brackets, or JavaScript event handlers in the ob parameter (e.g., ob=tB.from_date%22%3E%3Cscript%3E).
  • Logs: WordPress or web server access logs showing unusual query strings with XSS payloads targeting the wphostel_bookings admin page, particularly from external or unexpected IP addresses.
  • Logs: Admin activity logs (if a logging plugin is installed) showing admin page visits with anomalous query parameters shortly before unexpected administrative changes (e.g., new admin user creation, plugin installation).
  • Process/Behavior: Unexpected new administrator accounts, unauthorized plugin installations, or modified site settings following admin sessions that included visits to the vulnerable URL pattern.

Mitigation and workarounds

The vendor has released version 1.1.5.8 of the Hostel WordPress plugin, which addresses this vulnerability by properly sanitizing and escaping the affected parameter. Site administrators should update the plugin to version 1.1.5.8 or later immediately via the WordPress admin dashboard or by downloading the patched version from the WordPress plugin repository. If an immediate update is not possible, consider temporarily deactivating the plugin and monitoring admin accounts for suspicious activity (WPScan).

Community reactions

The vulnerability was discovered and responsibly disclosed by researcher Tommaso Gregori (p1s1o), who submitted it to WPScan. No significant vendor statements beyond the patch release or notable media coverage have been identified for this vulnerability.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management