CVE-2024-51222 Details
Description
A stored cross-site scripting (XSS) vulnerability in the component /admin/profile.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 Name 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 profile component, specifically within the profile.php file. The vulnerability allows attackers to inject arbitrary web scripts or HTML into the Name parameter, which is then executed in the context of the user's browser. This occurs because the application fails to properly sanitize user input before storing it in the database. When the profile page is accessed, the injected script is retrieved and executed, leading to potential session hijacking and unauthorized actions on behalf of the user.
To address this vulnerability, implement proper output encoding when rendering user input and sanitize input before storing it in the database. Additionally, consider applying a Content Security Policy header, using prepared statements with parameterized queries, and restricting the Name field to acceptable characters.
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] | Not Applicable |
| https://github.com/Buckdray/vulnerability-research/tree/main/CVE-2024-51222 | [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] |