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-9455: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in guillaume-lostweb WP Cleanup and Basic Functions

0
Medium
VulnerabilityCVE-2024-9455cvecve-2024-9455cwe-79
Published: Sat Oct 05 2024 (10/05/2024, 01:59:40 UTC)
Source: CVE Database V5
Vendor/Project: guillaume-lostweb
Product: WP Cleanup and Basic Functions

Description

CVE-2024-9455 is a stored Cross-Site Scripting (XSS) vulnerability in the WP Cleanup and Basic Functions WordPress plugin, affecting all versions up to 2. 2. 1. The flaw arises from insufficient sanitization and escaping of SVG file uploads, allowing authenticated users with Author-level or higher privileges to inject malicious scripts. These scripts execute whenever any user accesses the malicious SVG file, potentially compromising user sessions and data. The vulnerability has a CVSS score of 6. 4, indicating medium severity, with no known exploits in the wild as of now. Exploitation requires authentication but no user interaction beyond accessing the SVG file. Organizations using this plugin should prioritize patching or applying mitigations to prevent unauthorized script execution and potential account compromise. This threat primarily affects WordPress sites globally, especially those with active user-generated content and multi-author environments.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:22:53 UTC

Technical Analysis

CVE-2024-9455 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WP Cleanup and Basic Functions plugin for WordPress, maintained by guillaume-lostweb. The vulnerability exists in all versions up to and including 2.2.1 due to improper neutralization of input during web page generation, specifically related to SVG file uploads. Authenticated users with Author-level access or higher can upload SVG files containing malicious JavaScript payloads because the plugin fails to sufficiently sanitize and escape SVG content before rendering it on web pages. When other users or administrators view the affected SVG files, the embedded scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress environment. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No public exploits have been reported yet, but the vulnerability poses a significant risk in multi-user WordPress sites where authors can upload SVG files. The flaw is categorized under CWE-79, highlighting improper input neutralization during page generation. Mitigation requires patching the plugin once updates are available or implementing strict SVG upload restrictions and content sanitization controls.

Potential Impact

The impact of CVE-2024-9455 is primarily on the confidentiality and integrity of WordPress sites using the vulnerable plugin. Successful exploitation allows attackers with Author-level privileges to inject persistent malicious scripts that execute in the context of other users, including administrators. This can lead to session hijacking, theft of sensitive information, unauthorized content modification, or further privilege escalation. Since WordPress powers a significant portion of the web, sites with multiple authors or contributors are at higher risk. The vulnerability does not directly affect availability but can indirectly cause service disruption through compromised administrative accounts or defacement. Organizations relying on this plugin for site maintenance or cleanup functions may face reputational damage and data breaches if the vulnerability is exploited. The requirement for authenticated access limits the attack surface but does not eliminate risk, especially in environments with many contributors or weak account controls.

Mitigation Recommendations

To mitigate CVE-2024-9455, organizations should: 1) Monitor for and apply plugin updates from the vendor as soon as they are released to address the vulnerability. 2) Restrict SVG file uploads to trusted users only, ideally limiting upload permissions to administrators. 3) Implement server-side SVG sanitization using specialized libraries (e.g., SVG Sanitizer) to remove potentially malicious scripts before storage or rendering. 4) Employ Content Security Policy (CSP) headers to restrict script execution sources and reduce the impact of injected scripts. 5) Regularly audit user roles and permissions to minimize the number of users with Author-level or higher access. 6) Educate users about the risks of uploading untrusted SVG files and enforce strict input validation on all file uploads. 7) Consider disabling SVG uploads entirely if not required. 8) Monitor logs and web traffic for unusual activity related to SVG file access or script execution. These steps go beyond generic advice by focusing on controlling SVG upload vectors and enforcing layered defenses.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-10-03T01:29:12.716Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b4db7ef31ef0b5513bb

Added to database: 2/25/2026, 9:36:13 PM

Last enriched: 2/25/2026, 11:22:53 PM

Last updated: 2/26/2026, 4:38:39 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