Skip to main content

CVE-2024-10639: CWE-79 Cross-Site Scripting (XSS) in Unknown Auto Prune Posts

Medium
VulnerabilityCVE-2024-10639cvecve-2024-10639cwe-79
Published: Thu May 15 2025 (05/15/2025, 20:06:45 UTC)
Source: CVE
Vendor/Project: Unknown
Product: Auto Prune Posts

Description

The Auto Prune Posts WordPress plugin before 3.0.0 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

AI-Powered Analysis

AILast updated: 07/04/2025, 06:55:25 UTC

Technical Analysis

CVE-2024-10639 is a medium-severity vulnerability affecting the Auto Prune Posts WordPress plugin versions prior to 3.0.0. The vulnerability is classified as a Stored Cross-Site Scripting (XSS) issue (CWE-79), where the plugin fails to properly sanitize and escape certain settings. This flaw allows users with high privileges, such as administrators, to inject malicious JavaScript code into the plugin's settings interface. Notably, this vulnerability can be exploited even when the WordPress capability 'unfiltered_html' is disabled, such as in multisite environments, which typically restricts the ability to post unfiltered HTML. The attack vector requires the attacker to have high privileges (PR:H) and some user interaction (UI:R), and the vulnerability affects confidentiality and integrity but not availability. The CVSS 3.1 base score is 4.8, indicating a medium severity level. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the initially vulnerable component. Exploitation could lead to the execution of arbitrary scripts in the context of other users viewing the affected settings or pages, potentially allowing session hijacking, privilege escalation, or other malicious actions within the WordPress admin environment. However, no known exploits are currently reported in the wild, and no patches or updates have been linked yet. The vulnerability is specific to the Auto Prune Posts plugin, which is used to automatically delete or prune posts based on certain criteria, a functionality that may be critical for some WordPress site administrators.

Potential Impact

For European organizations using WordPress sites with the Auto Prune Posts plugin, this vulnerability poses a risk primarily to the confidentiality and integrity of administrative sessions and data. Since exploitation requires high privilege access, the threat is mostly internal or from compromised admin accounts. However, in multisite WordPress setups common in larger organizations or managed service providers, the inability to rely on 'unfiltered_html' as a mitigation increases risk. Successful exploitation could allow attackers to inject malicious scripts that execute in the context of other administrators or privileged users, potentially leading to further compromise of the site, unauthorized data access, or manipulation of site content. This could impact organizations that rely on WordPress for public-facing websites, intranets, or content management, especially those with multiple administrators or complex multisite configurations. The medium severity score reflects that while the vulnerability is not trivial to exploit externally, the consequences within an administrative context can be significant, including reputational damage, data leakage, or disruption of website management.

Mitigation Recommendations

European organizations should prioritize the following mitigation steps: 1) Immediately audit WordPress installations to identify the presence and version of the Auto Prune Posts plugin. 2) Upgrade the plugin to version 3.0.0 or later once available, as this will likely include the necessary sanitization and escaping fixes. 3) Until an update is available, restrict administrative access strictly to trusted users and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of compromised admin accounts. 4) Review and harden multisite configurations, ensuring that only necessary users have high privileges and that the 'unfiltered_html' capability is carefully managed. 5) Implement Web Application Firewalls (WAFs) with custom rules to detect and block suspicious input patterns targeting plugin settings. 6) Regularly monitor logs and admin activity for unusual behavior that could indicate exploitation attempts. 7) Educate administrators on the risks of stored XSS and safe handling of plugin settings. These steps go beyond generic advice by focusing on privilege management, multisite-specific considerations, and proactive monitoring tailored to this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2024-10-31T18:58:17.860Z
Cisa Enriched
false
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682cd0fa1484d88663aec19b

Added to database: 5/20/2025, 6:59:06 PM

Last enriched: 7/4/2025, 6:55:25 AM

Last updated: 8/16/2025, 6:16:58 PM

Views: 12

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

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

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats