The Contextual Related Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'other_attributes' parameter in versions up to, and including, 4.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Project Subscriptions

Vendors Products
Ajaydsouza Subscribe
Contextual Related Posts Subscribe
Wordpress Subscribe
Wordpress Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 20 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Ajaydsouza
Ajaydsouza contextual Related Posts
Wordpress
Wordpress wordpress
Vendors & Products Ajaydsouza
Ajaydsouza contextual Related Posts
Wordpress
Wordpress wordpress

Sat, 18 Apr 2026 11:30:00 +0000

Type Values Removed Values Added
Description The Contextual Related Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'other_attributes' parameter in versions up to, and including, 4.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Contextual Related Posts <= 4.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'other_attributes'
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-20T14:19:06.323Z

Reserved: 2026-02-22T17:08:03.100Z

Link: CVE-2026-2986

cve-icon Vulnrichment

Updated: 2026-04-20T14:18:59.227Z

cve-icon NVD

Status : Deferred

Published: 2026-04-18T12:16:11.600

Modified: 2026-04-22T20:22:50.570

Link: CVE-2026-2986

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T14:45:08Z

Weaknesses