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-7317: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in galdub Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager

0
Medium
VulnerabilityCVE-2024-7317cvecve-2024-7317cwe-79
Published: Tue Aug 06 2024 (08/06/2024, 10:59:36 UTC)
Source: CVE Database V5
Vendor/Project: galdub
Product: Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager

Description

CVE-2024-7317 is a stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin 'Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager' by galdub, affecting all versions up to 3. 0. 3. The flaw arises from insufficient input sanitization and output escaping of SVG file uploads, allowing authenticated users with Contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user accesses the infected SVG file, potentially compromising user sessions and data. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with limited privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple authenticated users. The threat primarily impacts WordPress sites globally, with higher risk in countries with widespread WordPress adoption and active contributor communities.

AI-Powered Analysis

AILast updated: 02/26/2026, 03:35:52 UTC

Technical Analysis

CVE-2024-7317 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the WordPress plugin 'Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager' developed by galdub. This plugin is designed to help organize media libraries, pages, posts, and files within WordPress installations. The vulnerability affects all versions up to and including 3.0.3. It stems from inadequate sanitization and escaping of SVG file uploads, which are vector image files that can contain embedded scripts. Authenticated users with Contributor-level permissions or higher can upload malicious SVG files containing arbitrary JavaScript code. When any user views or accesses these SVG files, the embedded scripts execute in their browser context, potentially leading to session hijacking, privilege escalation, or other malicious actions. The vulnerability requires authentication but no user interaction beyond accessing the SVG file, and it affects the confidentiality and integrity of user data without impacting availability. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required. No public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple users and contributors. Mitigation requires patching the plugin once updates are available or implementing strict file upload restrictions and content sanitization.

Potential Impact

The primary impact of CVE-2024-7317 is the compromise of user confidentiality and integrity on affected WordPress sites. Attackers with Contributor-level access can inject persistent malicious scripts via SVG uploads, which execute in the browsers of any users accessing the infected files. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed on behalf of users, and potential lateral movement within the site. Since the vulnerability does not affect availability, denial of service is unlikely. However, the breach of trust and potential data leakage can severely damage organizational reputation and user trust. For organizations relying on WordPress for content management, especially those with multiple contributors or editors, this vulnerability can facilitate insider threats or external attackers who have compromised contributor accounts. The medium CVSS score indicates a moderate risk, but the ease of exploitation by authenticated users and the persistent nature of stored XSS make it a significant concern. The lack of known exploits in the wild currently reduces immediate risk but does not eliminate the threat, as attackers may develop exploits rapidly once the vulnerability is public.

Mitigation Recommendations

1. Immediately restrict SVG file uploads to trusted users only or disable SVG uploads entirely until a patch is available. 2. Monitor and audit all uploaded SVG files for suspicious content or embedded scripts. 3. Apply strict input validation and output escaping on all file upload and rendering processes within the plugin, if custom fixes are possible before official patches. 4. Upgrade the plugin to a patched version as soon as it is released by the vendor. 5. Implement Content Security Policy (CSP) headers to limit the execution of inline scripts and reduce the impact of XSS attacks. 6. Enforce the principle of least privilege by limiting Contributor-level access to only trusted users. 7. Educate users and administrators about the risks of uploading untrusted SVG files and the importance of verifying file contents. 8. Use security plugins or Web Application Firewalls (WAFs) that can detect and block XSS payloads in uploads or requests. 9. Regularly review user roles and permissions to minimize the number of users who can upload files. 10. Conduct periodic security assessments and penetration tests focusing on file upload functionalities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-07-30T22:14:05.004Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c14b7ef31ef0b55fb00

Added to database: 2/25/2026, 9:39:32 PM

Last enriched: 2/26/2026, 3:35:52 AM

Last updated: 2/26/2026, 8:08:49 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