Spectra Legacy – Gutenberg Blocks <= 2.20.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Icon Block Accessibility Description

Medium 6.4 CWE-79Fixed in 2.20.7
ID
WPSEC-2026-3488
Plugin
Spectra Legacy – Gutenberg Blocks (ultimate-addons-for-gutenberg)
Affected
from 2.12.5 before 2.20.7
Remediation
Update to 2.20.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-19
Attack surface
Spectra Legacy – Gutenberg Blocks on WPSec AttackSurface
Fix released
Published

Description

The Spectra Legacy – Gutenberg Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Icon block's 'iconAccessabilityDesc' attribute in all versions up to, and including, 2.20.6, due to the escaped description being placed in a preg_replace() replacement string, where back-reference sequences such as $1 are expanded into raw SVG attribute markup that breaks out of the aria-label attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0