CVE-2026-3618
published medium CVSS 3.1 · 6.4Columns by BestWebSoft <= 1.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'columns' Shortcode 'id' Attribute
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bestweblayout | — | Columns by BestWebSoft – Additional Columns Plugin for Posts Pages and Widgets0 through 1.0.3 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bestweblayout | Columns by BestWebSoft – Additional Columns Plugin for Posts Pages and Widgets | 0 through 1.0.3 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
9- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L596
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L672
- https://plugins.trac.wordpress.org/browser/columns-bws/tags/1.0.3/columns-bws.php#L729
- 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/trunk/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/trunk/columns-bws.php#L731
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d3e293db-9177-4fbb-a469-900d9330642d?source=cve
Provider assertions
2Wordfence · cna
Columns by BestWebSoft <= 1.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'columns' Shortcode 'id' Attribute
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc765e7358ae083152a14606e6bd5bea8289f6a8cbdc1b3b43fe75cbe23ee7bf
- Ingested
- 23 Sep 2026, 09:12:43 UTC
- Source record
- Official CVE record