CyberRota Analysis
AI-GeneratedThe Spectra Legacy WordPress plugin prior to version 2.20.0 is vulnerable due to inadequate validation and escaping of block style attributes, enabling users with Contributor roles and above to inject arbitrary CSS into rendered pages. This vulnerability allows for potential defacement, external resource loading, or data exfiltration via CSS, affecting anonymous visitors. WordPress site administrators and developers using this plugin should prioritize addressing this issue to mitigate the risk of CSS injection attacks.
Original NVD Description
The Spectra Legacy WordPress plugin before 2.20.0 does not validate or escape several block style attributes before using them to build the CSS it outputs on the front end, allowing users with the Contributor role and above to inject arbitrary CSS into the pages that render the affected block. The injected styles are served to anonymous visitors of those pages and can force external resource loads, deface/redress the page, or exfiltrate data via CSS attribute selectors. JavaScript execution is not possible at this role (the script-tag breakout is removed by KSES), so the impact is limited to CSS injection.