WordPress Vulnerabilities

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

Description

Gutenberg does not escape a block attribute before outputting it in an HTML attribute context, 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
Alex Concha
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