CVE-2025-4392 HIGH

CVE-2025-4392: Shared Files <= 1.7.48 - Unauthenticated Stored Cross-Site Scripting via sanitize_file Function

Vendor Anssilaitila
Product Shared Files – Frontend File Upload Form & Secure File Sharing
Weakness CWE-79 · XSS
Published June 3, 2025
Last update April 8, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

The Shared Files – Frontend File Upload Form & Secure File Sharing plugin for WordPress is vulnerable to Stored Cross-Site Scripting via html File uploads in all versions up to, and including, 1.7.48 due to insufficient input sanitization and output escaping within the sanitize_file() function. This makes it possible for unauthenticated attackers to bypass the plugin’s MIME-only checks and inject arbitrary web scripts in pages that will execute whenever a user accesses the html file.

Explanation of Vulnerability in Simple Terms

02Summary

Shared Files versions up to 1.7.48 contain a cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts into the site without user interaction. The vulnerability affects the file upload form and can impact all site visitors. Update to a version newer than 1.7.48 to resolve this issue.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in visitors' browsers and steals session cookies or credentials.

Potential impact on your site

04Site Impact

Visitors' browsers execute attacker-controlled scripts, risking credential theft and account compromise across your site.

Conditions required to exploit

05Prerequisites

None. The attacker needs only network access; no authentication or user interaction required.

Key dates

06Disclosure timeline

June 3, 2025 CVE published
April 8, 2026 Record updated