Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://tagdiv.com/tagdiv-composer-page-builder-basics/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/48ae6e52-4a66-4676-952
FAQ
What is CVE-2026-12561?
CVE-2026-12561 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 sanitiz...
How severe is CVE-2026-12561?
CVE-2026-12561 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-12561?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.