CVE-2026-12561
Received Received - Intake

Stored XSS in tagDiv Composer WordPress Plugin

Vulnerability report for CVE-2026-12561, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: Wordfence

Description

The tagDiv Composer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the vc_raw_html shortcode in all versions up to and including 5.4.5. This is due to insufficient input sanitization and output escaping in the vc_raw_html::render() method, which base64-decodes shortcode content (after a strip_tags() that is bypassed because the encoded payload contains no tags on save) and concatenates the result directly into the page HTML. Because WordPress's save-time wp_kses_post() filter only sees the inert base64 text inside a normal shortcode bracket and does not decode it, the dangerous tags survive into post_content and are emitted unescaped at render time. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page (for example, when an Editor or Administrator previews the pending post).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
tagdiv composer to 5.4.5 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The tagDiv Composer plugin for WordPress has a stored cross-site scripting vulnerability in versions up to 5.4.5. It occurs via the vc_raw_html shortcode due to insufficient input sanitization and output escaping. Attackers with Contributor-level access or higher can inject malicious scripts that execute when users view infected pages.

Detection Guidance

Check WordPress sites for the tagDiv Composer plugin versions up to 5.4.5. Inspect pages using the vc_raw_html shortcode for unusual scripts or base64-encoded content in post_content. Use WordPress admin tools to review pending posts by Contributors for injected payloads.

Impact Analysis

This vulnerability allows attackers to inject malicious scripts into WordPress pages. If you visit an infected page, the script could steal cookies, session tokens, or sensitive data. It may also redirect you to phishing sites or perform actions on your behalf without consent.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data protection principles and HIPAA's security requirements. Organizations may face fines or penalties for failing to protect user data from such exploits.

Mitigation Strategies

Update the tagDiv Composer plugin to the latest version. Remove or disable the vc_raw_html shortcode if unused. Review and clean any posts containing suspicious base64-encoded content. Restrict Contributor-level access to trusted users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12561. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart