CVE-2024-51225 Details
Description
A stored cross-site scripting (XSS) vulnerability in the component /admin/add-brand.php of Phpgurukul Vehicle Record Management System v1.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the brandname parameter.
A stored cross-site scripting vulnerability has been identified in Phpgurukul Vehicle Record Management System version 1.0. The issue resides in the '/admin/add-brand.php' component, where user input in the 'brandname' parameter is not properly sanitized before being stored in the database. This unsanitized data is later retrieved and displayed in the '/admin/add-vehicle.php' page, executing injected scripts. This vulnerability is classified as second-order stored XSS, as the injection and execution points are separate, complicating detection.
To address this vulnerability, apply output encoding when rendering stored values in HTML contexts, using functions like htmlspecialchars to prevent script execution. Additionally, implement server-side validation to restrict brand name inputs to alphanumeric characters and limited punctuation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 23, 2026References 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/Buckdray/vulnerability-research | [email protected] | Third Party Advisory |
| https://github.com/Buckdray/vulnerability-research/tree/main/CVE-2024-51225 | [email protected] | ExploitMitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| phpgurukul vehicle record management system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2026 | Initial Analysis | [email protected] |
| Mar 23, 2026 | CVE Modified | CISA-ADP |
| Mar 23, 2026 | New CVE Received | [email protected] |