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

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-06-03T09:22:03.896Z
- Modified: 2026-06-17T09:33:10.620Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

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

## 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/>

## Sources

- CVE List: [CVE-2025-4392](https://www.cve.org/CVERecord?id=CVE-2025-4392), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-4392](https://nvd.nist.gov/vuln/detail/CVE-2025-4392), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4392 · Whole record: https://cve.day/CVE-2025-4392.json · Rebuilt by cve.day 2026-11-25T22:58:58.684Z
