Visual Composer Website Builder <= 45.16.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via vcv_encoded_shortcode Shortcode

Medium 6.4 CWE-79Fixed in 45.16.6
ID
WPSEC-2026-4403
Plugin
Visual Composer Website Builder (visualcomposer)
Affected
all versions before 45.16.6
Remediation
Update to 45.16.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
Visual Composer Website Builder on WPSec AttackSurface
Fix released
Published

Description

The Visual Composer Website Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the vcv_encoded_shortcode shortcode in all versions up to, and including, 45.16.5, due to the shortcode's base64-decoded content being output without sanitization and the removal of the shortcode for users without the unfiltered_html capability running on content_save_pre before WordPress's own content filtering, which can rebuild the shortcode after the check. 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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0