Visual Composer Website Builder <= 45.16.4 - Authenticated (Contributor+) Path Traversal to Arbitrary File Read via 'vcvSourceCssFileUrl' Post Meta
- ID
- WPSEC-2026-4129
- Plugin
- Visual Composer Website Builder (visualcomposer)
- Affected
- from 39.0 before 45.16.5
- Remediation
- Update to 45.16.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-22
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-27
- Attack surface
- Visual Composer Website Builder on WPSec AttackSurface
- Fix released
- Published
Description
The Visual Composer Website Builder plugin for WordPress is vulnerable to Path Traversal via the 'vcvSourceCssFileUrl' post meta in all versions up to, and including, 45.16.4, due to the plugin not restricting who can edit its source asset meta keys (vcvSourceCssFileUrl, vcvSourceCss, vcvSourceAssetsFiles) through the WordPress post meta API, such as the Custom Fields box, and appending the meta value to the assets directory path without sanitization before reading the file and printing its contents as inline CSS. This makes it possible for authenticated attackers, with Contributor-level access and above, to use directory traversal sequences to read the contents of arbitrary files on the server, such as wp-config.php, which can contain sensitive information.
References
- https://wpsec.com/vuln/WPSEC-2026-4129/
- https://plugins.svn.wordpress.org/visualcomposer/tags/45.16.5/
- https://wordpress.org/plugins/visualcomposer/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS