CVE-2026-85653
MEDIUM
6.4
CVSS 3.1
Description
The Contextual Related Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'other_attributes' Block Parameter in all versions up to, and including, 4.4.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
Contextual Related Posts Plugin · contextual-related-postsUp to and including 4.4.1View 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
- ajay Contextual Related Posts — Up to and including 4.4.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/blocks/class-blocks.php#L95
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L133
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L854
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L972
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/blocks/class-blocks.php#L95
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L133
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L854
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L972
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&old=3703115%40contextual-related-posts&new=3703115%40contextual-related-posts
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/1ee59a73-c449-462d-9ff0-b652be56b73b?source=cve
- nvd.nist.gov Official NVD record