Description
The WC Product Table Lite plugin for WordPress is vulnerable to CSS Injection in versions up to, and including, 5.6.0 via the 'laptop_scroll_offset' shortcode attribute exposed through the unauthenticated wcpt_ajax() AJAX handler. The handler is registered for wp_ajax_nopriv_wcpt_ajax, JSON-decodes attacker-supplied attributes, only allowlists key names (not values), applies a preg_replace that strips only [ ] < >, and passes the value through do_shortcode into wcpt_style__sticky_sidebar(), where it is interpolated verbatim into inline CSS ('top: {$top}px;' and 'max-height: calc(100vh - {$top}px);') with no numeric casting or CSS escaping. This makes it possible for unauthenticated attackers to inject arbitrary CSS declarations and rules on pages rendering a product table with sticky sidebar enabled, which can be leveraged for data exfiltration (via attribute-selector + background-image URLs), UI redressing, and phishing that bypasses CSPs permitting inline styles.
Published: 2026-08-16
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an unauthenticated attacker to supply arbitrary values to the "laptop_scroll_offset" shortcode attribute through the publicly accessible wcpt_ajax() AJAX handler. The handler allowlists only key names and removes the characters [ ] < > from the supplied value, but does not cast the value to a number or escape it for CSS. The value then flows directly into inline CSS declarations for "top" and "max-height" inside the sticky sidebar style block, which are interpolated verbatim by wp_do_shortcode. Because the CSS is inserted into the page without sanitisation, attackers can inject arbitrary CSS rules, including selectors that target hidden elements or background-image URLs that can exfiltrate sensitive data, and can manipulate the page layout to facilitate phishing or UI redressing attacks. The direct impact is the ability to modify the presentation of product‑table pages that have sticky sidebar enabled and to bypass restrictive CSPs that otherwise block problematic inline styles.

Affected Systems

The WordPress plugin "Product Table & List Builder For WooCommerce" (wcproducttable) is affected in all released versions up to and including 5.6.0. Users installing any of those versions are vulnerable to the CSS injection described above.

Risk and Exploitability

With a CVSS base score of 5.3 the vulnerability is rated medium in severity. The exploit does not require authentication and can be triggered by anyone who can access the site's AJAX endpoint, but it is limited to pages that render a product table with the sticky sidebar feature active. EPSS data is not available and the issue is not listed in CISA KEV, suggesting that large‑scale exploitation is currently unlikely, yet the potential for phishing, UI redressing, and data exfiltration through CSS makes it a risk worth addressing promptly.

Generated by OpenCVE AI on August 16, 2026 at 05:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Product Table & List Builder For WooCommerce plugin to the latest available version (5.7.0 or later) where the exploit is fixed.
  • If an immediate upgrade is impossible, remove or restrict the wp_ajax_nopriv_wcpt_ajax handler for unauthenticated users or modify the shortcode processing so that "laptop_scroll_offset" is either removed or its value is validated and cast to a number before use.
  • If the plugin must remain in use without disabling the sticky sidebar, enforce a Content Security Policy that blocks or tightly controls inline style injections to reduce the impact of potential CSS exploits.

Generated by OpenCVE AI on August 16, 2026 at 05:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
Description The WC Product Table Lite plugin for WordPress is vulnerable to CSS Injection in versions up to, and including, 5.6.0 via the 'laptop_scroll_offset' shortcode attribute exposed through the unauthenticated wcpt_ajax() AJAX handler. The handler is registered for wp_ajax_nopriv_wcpt_ajax, JSON-decodes attacker-supplied attributes, only allowlists key names (not values), applies a preg_replace that strips only [ ] < >, and passes the value through do_shortcode into wcpt_style__sticky_sidebar(), where it is interpolated verbatim into inline CSS ('top: {$top}px;' and 'max-height: calc(100vh - {$top}px);') with no numeric casting or CSS escaping. This makes it possible for unauthenticated attackers to inject arbitrary CSS declarations and rules on pages rendering a product table with sticky sidebar enabled, which can be leveraged for data exfiltration (via attribute-selector + background-image URLs), UI redressing, and phishing that bypasses CSPs permitting inline styles.
Title Product Table & List Builder For WooCommerce <= 5.6.0 - Unauthenticated CSS Injection via 'laptop_scroll_offset' Parameter
Weaknesses CWE-74
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-16T04:24:53.729Z

Reserved: 2026-07-10T19:06:47.337Z

Link: CVE-2026-15441

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T05:16:47.010

Modified: 2026-08-16T05:16:47.010

Link: CVE-2026-15441

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T05:30:06Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')