Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-13504: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in anssilaitila Shared Files – Frontend File Upload Form & Secure File Sharing

0
High
VulnerabilityCVE-2024-13504cvecve-2024-13504cwe-79
Published: Fri Jan 31 2025 (01/31/2025, 05:22:34 UTC)
Source: CVE Database V5
Vendor/Project: anssilaitila
Product: Shared Files – Frontend File Upload Form & Secure File Sharing

Description

CVE-2024-13504 is a high-severity stored cross-site scripting (XSS) vulnerability in the WordPress plugin 'Shared Files – Frontend File Upload Form & Secure File Sharing' affecting all versions up to 1. 7. 42. The flaw arises from improper input sanitization and output escaping of dfxp file uploads, allowing unauthenticated attackers to inject malicious scripts that execute when users access the affected files. This vulnerability specifically impacts Apache-based environments where dfxp files are handled by default. Exploitation requires no authentication or user interaction, and the vulnerability can lead to partial confidentiality and integrity loss through script injection. Although no known exploits are currently reported in the wild, the vulnerability's ease of exploitation and scope make it a significant risk for websites using this plugin. Organizations should prioritize patching or mitigating this issue to prevent potential account compromise, session hijacking, or further attacks leveraging the injected scripts.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:57:05 UTC

Technical Analysis

CVE-2024-13504 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79, found in the 'Shared Files – Frontend File Upload Form & Secure File Sharing' WordPress plugin developed by anssilaitila. The vulnerability affects all versions up to and including 1.7.42. It arises due to insufficient sanitization and escaping of user-supplied input within dfxp file uploads. Specifically, attackers can upload malicious dfxp files containing arbitrary JavaScript code that is stored on the server and executed in the context of any user who accesses these files. This issue is limited to Apache-based web servers where dfxp files are processed by default, as other environments may not handle these files similarly. The vulnerability requires no authentication or user interaction, making it remotely exploitable by any unauthenticated attacker. The CVSS v3.1 base score is 7.2, reflecting high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The impact includes partial confidentiality and integrity loss due to script execution, but no direct availability impact. No patches or known exploits have been reported yet, but the risk remains significant given the plugin's usage in WordPress sites for secure file sharing and frontend uploads. The vulnerability could be leveraged for session hijacking, credential theft, or delivering further malware payloads via the injected scripts.

Potential Impact

The vulnerability poses a significant risk to organizations using the affected WordPress plugin, especially those running Apache web servers. Successful exploitation allows attackers to execute arbitrary JavaScript in the context of users visiting the compromised dfxp files, potentially leading to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of users. This can undermine user trust, lead to data breaches, and facilitate further attacks such as phishing or malware distribution. Since the vulnerability requires no authentication or user interaction, it can be exploited at scale by automated tools. Organizations relying on this plugin for secure file sharing may face reputational damage and compliance issues if exploited. The scope is limited to sites using this specific plugin and Apache environments, but given WordPress's widespread use, the potential impact is broad. The vulnerability does not directly affect system availability but compromises confidentiality and integrity of user sessions and data.

Mitigation Recommendations

1. Immediate mitigation involves disabling or restricting dfxp file uploads in the plugin settings if possible, to prevent malicious file submissions. 2. Implement strict input validation and sanitization on the server side for all uploaded files, especially dfxp files, ensuring that any embedded scripts or HTML are neutralized before storage or rendering. 3. Apply output encoding/escaping when displaying content derived from uploaded files to prevent script execution in browsers. 4. Restrict access to uploaded dfxp files via web server configuration (e.g., Apache .htaccess rules) to prevent direct access or force downloads instead of rendering. 5. Monitor web server logs for suspicious upload activity or access patterns indicative of exploitation attempts. 6. Keep the plugin updated and monitor vendor announcements for patches or security updates addressing this vulnerability. 7. Employ Web Application Firewalls (WAFs) with rules to detect and block XSS payloads targeting this plugin. 8. Educate site administrators on secure file upload practices and the risks of allowing unauthenticated uploads. 9. Consider alternative secure file sharing plugins with better security track records if patching is delayed.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-01-17T11:20:04.484Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e5cb7ef31ef0b59ee99

Added to database: 2/25/2026, 9:49:16 PM

Last enriched: 2/25/2026, 11:57:05 PM

Last updated: 2/26/2026, 7:57:38 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats