CVE-2026-3618
The Columns by BestWebSoft plugin for WordPress is vulnerable to …
The Columns by BestWebSoft plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the [print_clmns] shortcode in all versions up to and including 1.0.3. This is due to insufficient input sanitization and output escaping on the 'id' attribute. The shortcode receives the 'id' parameter via shortcode_atts() at line 596 and directly embeds it into HTML output at line 731 (in a div id attribute) and into inline CSS at lines 672-729 without any escaping or sanitization. While the SQL query uses %d to cast the value to an integer for database lookup, the original unsanitized string value of $id is still used in the HTML/CSS output. 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. The attack requires that at least one column exists in the plugin (created by an admin), as the SQL query must return results for the output branch to be reached.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L596
- plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L672
- plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L729
- plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L731
- plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L596
- plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L672
- plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L729
- plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L731
- nvd.nist.gov/vuln/detail/CVE-2026-3618
- cve.org/CVERecord?id=CVE-2026-3618
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.