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-12461: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zoan WP-Revive Adserver

0
Medium
VulnerabilityCVE-2024-12461cvecve-2024-12461cwe-79
Published: Thu Dec 12 2024 (12/12/2024, 03:23:07 UTC)
Source: CVE Database V5
Vendor/Project: zoan
Product: WP-Revive Adserver

Description

CVE-2024-12461 is a stored cross-site scripting (XSS) vulnerability in the WP-Revive Adserver WordPress plugin, affecting all versions up to 2. 2. 1. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes in the 'wprevive_async' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when any user views the compromised page. This vulnerability does not require user interaction but does require some level of authentication. The CVSS score is 6. 4 (medium severity), reflecting the potential for confidentiality and integrity impact but no direct availability impact. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent unauthorized script injection and potential session hijacking or data theft.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:29:30 UTC

Technical Analysis

The WP-Revive Adserver plugin for WordPress suffers from a stored cross-site scripting (XSS) vulnerability identified as CVE-2024-12461. This vulnerability exists due to improper neutralization of input during web page generation, specifically within the 'wprevive_async' shortcode. The plugin fails to adequately sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code. When a page containing the injected shortcode is accessed by any user, the malicious script executes in their browser context. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim user. The vulnerability affects all versions up to and including 2.2.1 of the plugin. The CVSS 3.1 base score of 6.4 reflects a medium severity, with the attack vector being network-based, low attack complexity, requiring privileges (authenticated contributor or above), no user interaction, and a scope change due to potential impact on other users. No public exploits have been reported yet, but the vulnerability poses a significant risk in environments where multiple users have editing privileges. The lack of output escaping and input sanitization in the shortcode processing is the root cause, highlighting the need for secure coding practices in plugin development.

Potential Impact

This vulnerability allows authenticated contributors or higher to inject persistent malicious scripts into WordPress pages, which execute in the browsers of any users viewing those pages. The impact includes potential theft of session cookies, user credentials, or other sensitive information, enabling attackers to impersonate users or escalate privileges. It can also facilitate unauthorized actions such as content manipulation or redirection to malicious sites. While availability is not directly affected, the integrity and confidentiality of user data and site content are at risk. For organizations relying on WP-Revive Adserver, especially those with multiple content contributors, this vulnerability could lead to widespread compromise of user accounts and damage to reputation. The medium CVSS score reflects that exploitation requires authenticated access, limiting the attack surface but still posing a significant threat in multi-user environments. The scope change indicates that the vulnerability affects not only the compromised user but potentially all users accessing the infected content.

Mitigation Recommendations

Organizations should immediately update the WP-Revive Adserver plugin to a patched version once available. In the absence of an official patch, administrators should restrict contributor-level and higher permissions to trusted users only. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'wprevive_async' shortcode can provide temporary protection. Conduct a thorough audit of existing content for injected scripts and remove any suspicious code. Educate content contributors about safe input practices and the risks of injecting untrusted content. Additionally, applying Content Security Policy (CSP) headers can help mitigate the impact of XSS by restricting the execution of unauthorized scripts. Monitoring logs for unusual activity related to shortcode usage or script execution is recommended to detect exploitation attempts early.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-10T21:40:13.632Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e3eb7ef31ef0b59b791

Added to database: 2/25/2026, 9:48:46 PM

Last enriched: 2/26/2026, 4:29:30 AM

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