CVE-2025-63949
BaseFortify
Publication date: 2025-12-18
Last updated on: 2025-12-19
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| yohanawi | hotel_management_system | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the yohanawi Hotel Management System. It allows a remote attacker to execute arbitrary web scripts by injecting malicious code through the 'error' parameter in the pages/room.php file. This means that when a user visits a specially crafted URL, the injected script runs in their browser, potentially leading to unauthorized actions or data theft.
How can this vulnerability impact me? :
The impact of this vulnerability includes the potential for attackers to execute malicious scripts in the context of a user's browser session. This can lead to theft of sensitive information such as cookies or session tokens, unauthorized actions performed on behalf of the user, phishing attacks, or spreading malware. Essentially, it compromises the security and trustworthiness of the affected web application.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
You can detect this Reflected Cross-Site Scripting (XSS) vulnerability by testing the 'error' parameter in the pages/room.php URL for script injection. For example, use curl or a browser to send a request with a script payload in the 'error' parameter and observe if the script is executed or reflected unescaped in the response. A sample command is: curl -v "http://<target>/pages/room.php?error=<script>alert(1)</script>". If the alert or script is executed or visible in the response, the vulnerability is present. [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include sanitizing and properly encoding the 'error' parameter input on the server side to prevent script injection. Applying input validation and output encoding to ensure that any user-supplied data is not executed as code in the browser is critical. Additionally, updating the yohanawi Hotel Management System to a patched version that fixes this vulnerability is recommended once available. [2]