CVE-2025-8337 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in code-projects Simple Car Rental System version 1.0. The issue resides in the file /admin/add_vehicles.php, where the car_name parameter is not properly sanitized before being stored in the database. This lack of input validation allows attackers to inject malicious JavaScript, which is executed when the data is viewed by users, such as administrators.
To address this vulnerability, implement proper input validation for the car_name parameter to restrict the length and character set before storing it in the database. Additionally, apply HTML entity encoding when outputting data to prevent script execution. Setting a Content Security Policy (CSP) can also provide an extra layer of protection by controlling which scripts can be executed in the browser.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/i-Corner/cve/issues/13 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/i-Corner/cve/issues/13 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.318287 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.318287 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.624187 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects simple car rental system | 1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Aug 5, 2025 | Initial Analysis | [email protected] |
| Jul 31, 2025 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | New CVE Received | [email protected] |