---
id: CVE-2026-85653
title: >-
  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.…
summary: >-
  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.…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: ajay
product: Contextual Related Posts
affected:
  - contextual_related_posts <= 4.4.1
published: '2026-09-22'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:04:55.677'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85653'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/blocks/class-blocks.php#L95
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L133
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L854
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.2.4/includes/frontend/class-media-handler.php#L972
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/blocks/class-blocks.php#L95
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L133
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L854
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contextual-related-posts/tags/4.4.0/includes/frontend/class-media-handler.php#L972
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3703115%40contextual-related-posts&new=3703115%40contextual-related-posts
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1ee59a73-c449-462d-9ff0-b652be56b73b?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T14:12:07.401882Z'
ingestedAt: '2026-09-22T05:59:04.886Z'
epss: 0.00255
epssPercentile: 0.17367
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
