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-3888: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tagDiv tagDiv Composer

0
Medium
VulnerabilityCVE-2024-3888cvecve-2024-3888cwe-79
Published: Tue Jun 04 2024 (06/04/2024, 04:30:30 UTC)
Source: CVE Database V5
Vendor/Project: tagDiv
Product: tagDiv Composer

Description

CVE-2024-3888 is a stored cross-site scripting (XSS) vulnerability in the tagDiv Composer WordPress plugin, specifically affecting versions up to 4. 8 when used with the tagDiv Newspaper theme. Authenticated users with contributor-level access or higher can inject malicious scripts via the plugin's button shortcode due to insufficient input sanitization and output escaping. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or other malicious actions. The vulnerability does not require user interaction beyond page access and has a CVSS score of 6. 4 (medium severity). It is not exploitable without authentication and is tied to the Newspaper theme, limiting its scope. No known exploits are currently reported in the wild. Organizations using the affected plugin and theme combination should prioritize patching or applying mitigations to prevent exploitation.

AI-Powered Analysis

AILast updated: 02/26/2026, 06:29:12 UTC

Technical Analysis

CVE-2024-3888 is a stored cross-site scripting vulnerability classified under CWE-79 that affects the tagDiv Composer plugin for WordPress, specifically when used with the tagDiv Newspaper theme. The vulnerability arises from improper neutralization of input during web page generation, where user-supplied attributes in the plugin's button shortcode are not adequately sanitized or escaped before being rendered. This flaw allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored persistently in the page content, it executes automatically whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users. The vulnerability is limited to installations using the Newspaper theme, as the vulnerable code is not present in other tagDiv themes like NewsMag. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges, no user interaction, and a scope change. Although no public exploits are currently known, the vulnerability poses a significant risk due to the common use of WordPress and the tagDiv Newspaper theme in content-heavy websites. The flaw underscores the importance of strict input validation and output encoding in WordPress plugins, especially those that allow user-generated content or shortcode attributes.

Potential Impact

The primary impact of CVE-2024-3888 is the potential for attackers with contributor-level access to inject persistent malicious scripts into web pages, which execute in the browsers of any visitors to those pages. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed on behalf of users, defacement, or distribution of malware. For organizations, this can result in compromised user accounts, loss of customer trust, reputational damage, and potential data breaches. Since the vulnerability requires authenticated access, the risk is somewhat mitigated by the need for an attacker to have contributor or higher privileges, but insider threats or compromised accounts can still exploit it. The scope change indicated in the CVSS vector means that the vulnerability can affect resources beyond the initially compromised component, potentially impacting the confidentiality and integrity of the entire website. Given WordPress's widespread use globally, especially for news and media sites that often use the tagDiv Newspaper theme, the vulnerability could affect a large number of organizations, particularly those that do not promptly update or apply mitigations. The absence of known exploits in the wild currently reduces immediate risk but does not eliminate the threat, as attackers may develop exploits in the future.

Mitigation Recommendations

To mitigate CVE-2024-3888, organizations should first verify if they are using the tagDiv Composer plugin in conjunction with the tagDiv Newspaper theme. If so, they should update the plugin to a patched version once available from the vendor. Until a patch is released, administrators should restrict contributor-level and higher permissions to trusted users only and monitor for suspicious activity or unauthorized content changes. Implementing a Web Application Firewall (WAF) with rules to detect and block typical XSS payloads in shortcode attributes can provide interim protection. Additionally, site administrators should audit existing pages for injected scripts and remove any malicious content. Employing Content Security Policy (CSP) headers can help reduce the impact of XSS by restricting script execution sources. Regularly reviewing user roles and permissions to minimize the number of users with contributor or higher access reduces the attack surface. Finally, educating content editors about safe practices and monitoring plugin/theme updates from tagDiv will help maintain security posture.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-04-16T16:52:47.097Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c9fb7ef31ef0b566ee5

Added to database: 2/25/2026, 9:41:51 PM

Last enriched: 2/26/2026, 6:29:12 AM

Last updated: 2/26/2026, 11:20:50 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