CVE-2026-3618Columns by BestWebSoft <= 1.0.3 - Authenticated (Contributor+) Stored Cross-Site…
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
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- bestweblayout Columns by BestWebSoft – Additional Columns Plugin for Posts Pages and Widgets: affected: up to 1.0.3
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d3e293db-9177-4fbb-a469-900d9330642d?source=cve
- https://plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L731
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L731
- https://plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L596
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L596
- https://plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L672
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L672
- https://plugins.trac.wordpress.org/browser/columns-bws/trunk/columns-bws.php#L729
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L729
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.