Description
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.
Published: 2026-04-08
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via authenticated contributor‑level access
Action: Patch immediately
AI Analysis

Impact

Columns by BestWebSoft’s Columns plugin allows an authenticated user with Contributor or higher privileges to embed arbitrary JavaScript into page output by manipulating the 'id' parameter of the [print_clmns] shortcode. Because the value is inserted directly into a div id attribute and inline CSS without escaping, any stored payload executes in the browser of every visitor that views the affected page. This yields a stored cross‑site scripting vulnerability that can compromise the account and data of all site users.

Affected Systems

The flaw affects WordPress sites running any version of the Columns plugin up to and including 1.0.3. The vulnerability is present only when the plugin’s shortcode is used and at least one column has been created in the database, which an administrator creates during normal operation. Contributors who can edit or add posts that contain the shortcode can trigger the vulnerability.

Risk and Exploitability

The vulnerability carries a score of 6.4 and is not noted in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is reported, and exploitation requires authenticated access with Contributor or higher privileges. Nonetheless, once a malicious script is stored it runs for every user who visits the impacted page, making it a moderate‑to‑high risk. Applying a vendor‑issued update or disabling the plugin should be treated as a high priority.

Generated by OpenCVE AI on April 8, 2026 at 10:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Columns plugin to the latest available version, which sanitizes the 'id' attribute.
  • If an update cannot be applied immediately, remove all instances of the [print_clmns] shortcode from published content or disable the plugin entirely.
  • Restrict Contributor-level users and lower roles from editing posts that contain the shortcode.
  • Audit existing content for malicious 'id' values and cleanse or delete them before applying the fix.
  • After updating or sanitizing content, clear any site‑wide cache and verify that no vulnerable shortcodes remain in the output.

Generated by OpenCVE AI on April 8, 2026 at 10:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Bestweblayout
Bestweblayout columns By Bestwebsoft – Additional Columns Plugin For Posts Pages And Widgets
Wordpress
Wordpress wordpress
Vendors & Products Bestweblayout
Bestweblayout columns By Bestwebsoft – Additional Columns Plugin For Posts Pages And Widgets
Wordpress
Wordpress wordpress

Wed, 08 Apr 2026 07:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Columns by BestWebSoft <= 1.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'columns' Shortcode 'id' Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Bestweblayout Columns By Bestwebsoft – Additional Columns Plugin For Posts Pages And Widgets
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-13T15:15:10.158Z

Reserved: 2026-03-05T19:02:48.162Z

Link: CVE-2026-3618

cve-icon Vulnrichment

Updated: 2026-04-13T15:12:05.865Z

cve-icon NVD

Status : Deferred

Published: 2026-04-08T07:16:21.887

Modified: 2026-04-27T19:04:22.650

Link: CVE-2026-3618

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-08T19:43:37Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')