Vulnerability in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News — CVE-2026-119160
What to do now
Update Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News to 4.0.10 or later.
Affected versions
- Everything up to and including 4.0.9
Affected: Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News (plugin, post-carousel)
What the vulnerability is
The Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameter in all versions up to, and including, 4.0.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the victim page to contain an Author Filter block alongside a grid or live-filter block, and execution is triggered by a visitor clicking the attacker's author entry in the dropdown — a standard filter interaction requiring no elevated privileges from the victim.
Sources
- https://plugins.trac.wordpress.org/browser/post-carousel/tags/4.0.8/blocks/assets/js/script.js#L1744
- https://plugins.trac.wordpress.org/browser/post-carousel/tags/4.0.8/blocks/includes/class-template-part.php#L1130
- https://plugins.trac.wordpress.org/browser/post-carousel/tags/4.0.8/blocks/includes/class-template-part.php#L1146
- https://plugins.trac.wordpress.org/changeset/3775298/post-carousel
- https://plugins.trac.wordpress.org/changeset/3775298/post-carousel/trunk/blocks/assets/js/script.js
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a5612c16-9629-4869-8ec1-8fba788b7d7c?source=cve