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

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-2986
CVSS 6.4 (Medium)
Publicly Published April 17, 2026
Last Updated April 18, 2026
Researchers Athiwat Tiprasaharn (Jitlada)
Itthidej Aramsri (Boeing777)

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Contextual Related Posts

Software Type Plugin
Software Slug contextual-related-posts (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.2.2, or a newer patched version
Affected Version
  • <= 4.2.1
Patched Version
  • 4.2.2

Recent vulnerabilities in Contextual Related Posts

# Title CVE ID CVSS Researchers Date
1 Contextual Related Posts < 4.2.2 - Missing Authorization CVE-2026-32565 5.3 Nguyen Ba Khanh March 18, 2026
2 Contextual Related Posts <= 4.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-47506 6.4 Muhammad Yudha - DJ May 7, 2025
3 Contextual Related Posts <= 3.3.1 - Cross-Site Request Forgery in crpClearCache 4.3 February 20, 2023
4 Contextual Related Posts <= 3.3.1 - Missing Authorization in crp_ajax_clearcache 4.3 February 20, 2023
5 Contextual Related Posts <= 3.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Block Attribute CVE-2023-0252 6.4 István Márton January 5, 2023
6 Contextual Related Posts <= 2.9.3 - Cross-Site Request Forgery 4.3 Lenon Leite November 19, 2020
7 Contextual Related Posts <= 1.8.6 - Cross-Site Request Forgery to Cross-Site Scripting CVE-2013-2710 8.8 Charlie Eriksen August 1, 2014
8 Contextual Related Posts < 1.8.10.2 - SQL Injection CVE-2014-3937 9.8 flynsarmy March 6, 2014

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation