CVE-2026-96840
Description
The Post Grid Gutenberg Blocks – PostX plugin for WordPress is vulnerable to Stored Cross-Site Scripting via display_name User Field in all versions up to, and including, 5.1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core's pre_user_display_name filter encodes &, <, and > but leaves double-quotes intact (ENT_NOQUOTES), allowing a Subscriber-level user to store a double-quote in their display_name via /wp-admin/profile.php that subsequently breaks out of the alt="" attribute at Archive_Title.php:144.
Affected WordPress components
-
Post Grid Gutenberg Blocks – PostX Plugin · ultimate-postUp to and including 5.1.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wpxpo Post Grid Gutenberg Blocks – PostX — Up to and including 5.1.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.41/addons/builder/blocks/Archive_Title.php#L144
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.41/addons/builder/blocks/Archive_Title.php#L98
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3727209/ultimate-post/trunk/addons/builder/blocks/Archive_Title.php
- wordpress.org https://wordpress.org/plugins/ultimate-post/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/39472e87-174c-4abf-bc83-fed0939440af?source=cve
- nvd.nist.gov Official NVD record