Vulnerability in Jetpack – WP Security, Backup, Speed, & Growth — WF-eda9ae01-cdc4-43e0-8a4c-1ec365939fa8
What to do now
Update Jetpack – WP Security, Backup, Speed, & Growth to 14.5.1 or later.
Affected versions
- 14.5 to 14.5 (inclusive)
- 14.6 to 14.6 (inclusive)
- 14.7 to 14.7 (inclusive)
- 14.8 to 14.8 (inclusive)
- 14.9 to 14.9.1 (inclusive)
Affected: Jetpack – WP Security, Backup, Speed, & Growth (plugin, jetpack)
What the vulnerability is
The Jetpack – WP Security, Backup, Speed, & Growth plugin for WordPress is vulnerable to Cross-Site Scripting in versions 14.5 through 16.1.2 via the Reader repost initializer in the block editor bundles. The initializer reads the url, title, text, comment_content, and comment_author query parameters and interpolates them into block attributes without escaping or sanitization before calling resetEditorBlocks(). On WordPress 7.1, only title and url were demonstrated to persist into live executable markup; the other parameters did not produce a stored executable sink. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into a post via a crafted link that, when opened and saved by a user with the unfiltered_html capability (administrator or editor by default), stores the payload in post_content where it executes in the browser of every subsequent visitor to the published post. The Blocks module must be active and the site must be Jetpack-connected or in offline mode for the vulnerable bundle to be enqueued.