Simple Car Rental System
CVE-2025-8337
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAdmin authenticates to system
-
DeliveryNavigates to /admin/add_vehicles.php
-
ExploitSubmits form with XSS payload in car_name
-
ExecutionPayload stored in database
-
PersistVictim admin views vehicle list
-
ImpactJavaScript executes in victim browser
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 four specific conditions: (1) attacker must be authenticated to the application with administrator privileges (PR:H), (2) attacker must have access to the /admin/add_vehicles.php endpoint, (3) the car_name input field must not enforce server-side output encoding or input validation, and (4) a second user (typically another admin) must view the vehicle listing where the injected payload is reflected or stored (UI:P). Exploitation is impossible against read-only or deactivated admin interfaces, against systems with strict Content Security Policy headers that block inline scripts, or in environments where admin users are isolated from each other. Non-admin users cannot trigger this vulnerability because they lack access to the admin panel. |
| Impact | Risk is extremely low despite public exploit availability. Multiple protective factors converge: CVSS v4.0 score of 1.9 reflects the severe constraints (PR:H = high privilege required, UI:P = user interaction required, VI:L = low integrity impact, no confidentiality/availability impact). EPSS score of 0.05% (15th percentile) confirms minimal real-world exploitation probability. The vulnerability requires an authenticated admin to deliberately inject malicious input, creating a scenario where the attacker already has trusted system access - a classic insider threat rather than external attack. SSVC framework would classify this as low priority: exploitation is constrained by authentication, user interaction, and impact scope (XSS affecting other admins). The public POC confirms discoverability but does not translate to widespread exploitation risk. No conflict between CVSS and EPSS signals; both appropriately reflect a low-severity issue in a non-critical application. |
| Exploit ScenarioDerived | An authenticated administrator with access to the vehicle management interface navigates to /admin/add_vehicles.php and enters a malicious payload such as <script>alert('XSS')</script> in the car_name field, then saves the vehicle entry. When another admin or user views the vehicle list (if car_name is displayed without encoding), the injected JavaScript executes in their browser, potentially allowing the attacker to steal session cookies, redirect to a phishing site, or perform unauthorized actions on behalf of the victim user. Publicly available exploit code (referenced in GitHub) documents this injection point, lowering the discovery barrier. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Stored cross-site scripting (XSS) in Simple Car Rental System 1.0 allows authenticated administrators to inject malicious scripts via the car_name parameter in /admin/add_vehicles.php, which are then executed in the browsers of other users viewing vehicle listings. The vulnerability requires high-privilege admin access and user interaction (UI:P), limiting real-world impact despite network-accessible delivery. Publicly available exploit code exists but EPSS exploitation probability is extremely low at 0.05%, suggesting the attack scenario (admin-initiated XSS against themselves or other admins) has minimal practical risk.
RemediationAI
Upgrade to a patched version if available from code-projects; however, no patched version is currently identified in available advisory data. As an immediate workaround, implement server-side output encoding of all user-supplied input in /admin/add_vehicles.php, specifically HTML-encoding the car_name parameter before rendering it in HTTP responses using PHP's htmlspecialchars() function with ENT_QUOTES flag. Additionally, implement Content Security Policy (CSP) headers with script-src restrictions to prevent injected scripts from executing even if encoding is bypassed. Restrict administrative access to trusted users only, disable unnecessary admin features, and implement Web Application Firewall (WAF) rules to detect and block common XSS payloads in POST parameters. Monitor admin user activity logs for suspicious input patterns. Contact code-projects directly at https://code-projects.org/ to request security patches or an updated version.
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 reflected or stored cross-site scripting flaw (CWE-79) in a PHP-based vehicle management application. The /admin/add_vehicles.php endpoint accepts user input via the car_name parameter without proper output encoding or input sanitization. In PHP web applications, unencoded user input rendered directly in HTML contexts enables attackers to inject arbitrary JavaScript that executes in client browsers. The attack vector is network-accessible (AV:N) but requires prior authentication as a high-privilege administrator (PR:H), and user interaction is required (UI:P), meaning a victim must visit a page where the injected payload is reflected or stored.
Know when Simple Car Rental 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:H/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, which was classified as problematic, has been found in code-projects Simple Car Rental System 1.0. This issue affects some unknown processing of the file /admin/add_vehicles.php. The manipulation of the argument car_name leads to cross site scripting. The attack may 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
More in Simple Car Rental System
View allPrivilege escalation in code-projects Simple Car Rental System 1.0 lets an authenticated low-privilege user forge a high
A vulnerability classified as critical was found in code-projects Simple Car Rental System 1.0. Rated medium severity (C
A vulnerability classified as critical was found in code-projects Simple Car Rental System 1.0. Rated medium severity (C
A vulnerability was found in code-projects Simple Car Rental System 1.0. Rated medium severity (CVSS 6.9), this vulnerab
A vulnerability classified as critical has been found in code-projects Simple Car Rental System 1.0. Rated medium severi
CVE-2025-7476 is a critical SQL injection vulnerability in code-projects Simple Car Rental System 1.0 affecting the /adm
CVE-2025-7475 is a critical SQL injection vulnerability in code-projects Simple Car Rental System version 1.0, located i
Cross-site request forgery in Simple Car Rental System 1.0 allows remote attackers to perform unauthorized actions on be
Unrestricted file upload in Code-projects Simple Car Rental System 1.0 allows authenticated administrators to upload mal
A vulnerability, which was classified as critical, has been found in code-projects Simple Plugins Car Rental Management
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB