CSS Injection Vulnerability in Spectra Legacy Plugin for WordPress
CVE-2026-10827
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 1 August 2026
Badges
What is CVE-2026-10827?
The Spectra Legacy WordPress plugin, prior to version 2.20.0, lacks proper validation and escaping for specific block style attributes, enabling users with a Contributor role or higher to insert arbitrary CSS. This vulnerable behavior allows these users to affect the styling of pages viewed by anonymous visitors, potentially leading to forced loading of external resources, visual alterations of the page, or even data exfiltration through CSS attribute selectors. While JavaScript execution is constrained by KSES, the ability to manipulate CSS poses significant risks for web integrity and user trust.
Affected Version(s)
Spectra Legacy 0 < 2.20.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.