Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-63307 — An authenticated Stored Cross-site Scripting (XSS) vulnerability in laravel-file-manager v3.3.1 and below allows attackers with access to the file manager interface to inject and persist arbitrary JavaScript code in uploaded or created files. | Kitploit
Tools/GitHubGitHub/theethat-thamwasin/cve-2025-63307
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubtheethat-thamwasin/cve-2025-63307

CVE-2025-63307

An authenticated Stored Cross-site Scripting (XSS) vulnerability in laravel-file-manager v3.3.1 and below allows attackers with access to the file manager interface to inject and persist arbitrary JavaScript code in uploaded or created files.

View Repository
1110 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-63307 – Authenticated Stored Cross-site Scripting (XSS) in laravel-file-manager v3.3.1

🧭 Overview

An authenticated Stored Cross-site Scripting (XSS) vulnerability in laravel-file-manager v3.3.1 and below allows attackers with access to the file manager interface to inject and persist arbitrary JavaScript code in uploaded or created files. By uploading a specially crafted .html or .svg file containing malicious JavaScript, or by directly creating and editing such a file within the file manager, attackers can achieve stored XSS that executes when any other authenticated user or administrator views the file through the web interface.

🧱 Affected Component

  • Project: laravel-file-manager
  • Component: File upload, create, and render functionality (e.g., FileManagerController.php)
  • Affected version: v3.3.1 and below

🎯 Attack Vectors

  1. Authenticate with an account that has permission to upload, create, or rename files via the file manager interface.
  2. Upload or create a file with a .svg or .html extension containing malicious JavaScript
  3. The application stores this file without validating its content or sanitizing embedded scripts.
  • When another user (such as an administrator or repository maintainer) views or previews the file in their browser, the malicious JavaScript executes in the context of the application’s domain.
  • The script can then perform actions such as session hijacking, CSRF, or stealing sensitive data from the victim’s browser.
  • 💥 Impact

    • Stored XSS: Persistent JavaScript execution within the application's origin.
    • Session Hijacking & Account Takeover: Attackers can steal cookies or perform actions as the victim.
    • Phishing / UI Redressing: Injected scripts can spoof UI elements or redirect users to malicious sites.
    • Sensitive Data Exposure: Access to information within the application accessible to the victim’s session.

    CVSS v3

    Base Score: 8.1

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

    Severity: High

    🛡️ Recommended Remediation

    • Implement strict server-side content-type validation and filtering for uploaded files.
    • Disallow or sanitize uploads with .html, .svg, or other formats capable of containing active content.
    • Serve user-uploaded files with the Content-Disposition: attachment header or from a separate, non-executable domain/subdomain.
    • Apply output encoding and sanitization before rendering user-controlled content in the browser.

    🙏 Credits

    Discovered and reported by: Chayawat Jeamprasertboon, Thanakorn Boontem, Sahapon Kanajanothai and Theethat Thamwasin


    Download Tool