CVE-2026-12561: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tagDiv tagDiv Composer
Description
CVE-2026-12561 is a stored cross-site scripting (XSS) vulnerability in the tagDiv Composer WordPress plugin. It affects all versions up to and including 5.4.5. The vulnerability arises from insufficient input sanitization and output escaping in the vc_raw_html shortcode, allowing authenticated users with Contributor-level access or higher to inject arbitrary scripts. These scripts execute when other users view the affected pages, such as during post previews by Editors or Administrators. The issue is due to base64-decoded shortcode content being directly embedded into page HTML without proper filtering.
CVSS v3.1
Score 6.4medium
Affected software
tagDiv
tagDiv Composer
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The tagDiv Composer plugin for WordPress suffers from a stored XSS vulnerability via the vc_raw_html shortcode in versions up to 5.4.5. The vulnerability stems from the vc_raw_html::render() method, which base64-decodes shortcode content after a strip_tags() call that can be bypassed because the encoded payload contains no tags at save time. WordPress's wp_kses_post() filter only processes the inert base64 text inside the shortcode and does not decode it, allowing dangerous HTML tags to persist in post_content. When the shortcode is rendered, the decoded content is concatenated directly into the page HTML without escaping, enabling script injection. Authenticated attackers with Contributor or higher privileges can exploit this to inject scripts that execute when other users access the page.
Potential Impact
An attacker with Contributor-level or higher access can inject malicious scripts into pages or posts via the vulnerable shortcode. These scripts execute in the context of users who view the infected content, such as Editors or Administrators previewing posts, potentially leading to session hijacking, privilege escalation, or other malicious actions. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity), reflecting its network attack vector, low attack complexity, and limited privileges required.
Mitigation Recommendations
No official patch or fix is currently documented in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level or higher access to trusted users only. Avoid using the vc_raw_html shortcode or disable the tagDiv Composer plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-17T20:23:37.179Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8d1f97acd9273b49af8fc9
Added to database: 08/25/2026, 04:52:39 UTC
Last enriched: 09/10/2026, 20:32:37 UTC
Last updated: 10/08/2026, 18:48:43 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.