CVE-2026-15441
Beschrijving NL
De WC Product Table Lite-plug-in voor WordPress is kwetsbaar voor CSS-injectie in versies tot en met 5.6.0 via het shortcode-attribuut 'laptop_scroll_offset' dat wordt weergegeven via de niet-geverifieerde wcpt_ajax() Ajax-handler. De handler is geregistreerd voor wp_ajax_nopriv_wcpt_ajax, JSON-decodes door aanvallers geleverde attributen, staat alleen sleutelnamen toe (geen waarden), past een preg_replace toe die alleen [ ] stript en geeft de waarde door aan do_shortcode in wcpt_style__sticky_sidebar(), waar deze woordelijk wordt geïnterpoleerd in inline CSS ('top: {$top}px;' en 'max-height: calc(100vh - {$top}px);') zonder numerieke casting of CSS escaping. Dit maakt het mogelijk voor niet-geverifieerde aanvallers om willekeurige CSS-verklaringen en -regels te injecteren op pagina's die een producttabel weergeven met kleverige zijbalk ingeschakeld, die kunnen worden gebruikt voor gegevensexfiltratie (via attribuut-selector + URL's van achtergrondafbeeldingen), UI-herstel en phishing die CSP's omzeilt die inline-stijlen toestaan.
Origineel (Engels) tonen
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.