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.
Published: 2026-08-01
Score: 3.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Spectra Legacy WordPress plugin builds CSS for its blocks from user‑supplied style attributes without validating or escaping them. Contributors and higher roles can craft block content that injects arbitrary CSS. This injected CSS is served to anonymous visitors, allowing attackers to deface pages, force the browser to load external resources, or exfiltrate information via CSS attribute selectors. JavaScript execution is prevented by the plugin’s use of KSES, so the attack is limited to the style layer.

Affected Systems

All installations of Spectra Legacy that are running a version earlier than 2.20.0 are vulnerable. The weakness is triggered when users with the Contributor role or higher create or edit blocks with the plugin. No specific Windows, Linux, or OS versions are involved; the vulnerability exists only in the WordPress plugin code.

Risk and Exploitability

The EPSS score is below 1 %, indicating that the likelihood of exploitation is low, but the vulnerability is still feasible when an attacker gains a Contributor or higher role on a WordPress site that uses Spectra. The CVSS base score for this issue is 3.5, classifying it as low severity. The issue is not listed in the CISA KEV catalog, yet the ability to inject arbitrary CSS could enable phishing or data‑exfiltration attacks that would not be considered low‑impact by all organizations. Because the vector relies on a privileged user, the risk is elevated for sites that allow many contributors to edit content, but the lack of JavaScript execution limits the potential for remote code execution.

Generated by OpenCVE AI on August 5, 2026 at 18:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spectra Legacy to version 2.20.0 or later.
  • Remove or restrict Contributor and higher roles from editing blocks that use the Spectra plugin; consider limiting block usage to administrators only.
  • Apply a content‑security‑policy that blocks external resource loading and restricts style injection to trusted origins.

Generated by OpenCVE AI on August 5, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-345
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 02 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1075

Sat, 01 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
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.
Title Spectra (Ultimate Addons for Gutenberg) < 2.20.0 - Contributor+ Stored CSS Injection via Block Attributes
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-05T16:19:22.442Z

Reserved: 2026-06-04T09:35:44.199Z

Link: CVE-2026-10827

cve-icon Vulnrichment

Updated: 2026-08-05T16:07:56.983Z

cve-icon NVD

Status : Received

Published: 2026-08-01T07:16:28.573

Modified: 2026-08-05T17:16:39.130

Link: CVE-2026-10827

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T18:30:16Z

Weaknesses
  • CWE-1075

    Unconditional Control Flow Transfer outside of Switch Block

  • CWE-345

    Insufficient Verification of Data Authenticity