Vulnerability Report
Plugin Medium Patch path listed CVE-2026-2986

Contextual Related Posts <= 4.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'other_attributes'

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.

Quick Answer

CVE-2026-2986 is a medium severity with CVSS 6.4 Stored Cross-Site Scripting issue affecting the Plugin Contextual Related Posts. It affects Versions up to 4.2.1 and is fixed in 4.2.2.

Published
Apr 17, 2026
Last Updated
Apr 17, 2026
Slug
contextual-related-posts
Risk Profile
6.4 CVSS Score
Weakness
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Researchers
Athiwat Tiprasaharn (Jitlada)
Itthidej Aramsri (Boeing777)
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 4.2.2, or a newer patched version
Operator Briefing

CVE-2026-2986 is tracked for the Plugin Contextual Related Posts as medium severity with CVSS 6.4. The affected range is Versions up to 4.2.1. Update Contextual Related Posts to 4.2.2 or newer where that version is compatible with the site.

Issue Type
Stored Cross-Site Scripting
Primary Fixed Version
4.2.2
Primary Affected Range
Versions up to 4.2.1
Tracking ID
CVE-2026-2986
Detailed Metadata
Software Type Plugin
Software Slug
contextual-related-posts View on wordpress.org
CVE CVE-2026-2986
Patched Versions
4.2.2
Affected Versions
Versions up to 4.2.1
Related CVE Cluster

Related CVEs for Contextual Related Posts

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more