WordPress Vulnerabilities

WP < 7.0.3 - Contributor+ Stored XSS via Gutenberg Post Content Block

Description

Gutenberg does not restrict a block attribute used as an HTML tag name, which could allow users with a role of Contributor and above to perform Stored Cross-Site Scripting attacks against anyone viewing the affected post. The affected block ships both in the Gutenberg plugin and, bundled, in WordPress core.

Affects WordPress

Fixed in WordPress 7.0.3
Fixed in WordPress 7.0.3
Fixed in WordPress 7.0.3
Fixed in WordPress 6.9.6
Fixed in WordPress 6.9.6
Fixed in WordPress 6.9.6
Fixed in WordPress 6.9.6
Fixed in WordPress 6.9.6
Fixed in WordPress 6.9.6

Affects Plugins

Fixed in 23.7.1

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
N05ec@LZU
Verified
Yes

Timeline

Publicly Published
2026-08-06 (about 1 month ago)
Added
2026-08-07 (about 1 month ago)
Last Updated
2026-08-07 (about 1 month ago)

Other