CVE-2026-2986
Received Received - Intake
Stored XSS in WordPress Contextual Related Posts Plugin

Publication date: 2026-04-18

Last updated on: 2026-04-18

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-18
Last Modified
2026-04-18
Generated
2026-05-07
AI Q&A
2026-04-18
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
contextual_related_posts plugin to 4.2.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The Contextual Related Posts plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 4.2.1. This vulnerability exists because the plugin does not properly sanitize or escape input provided via the 'other_attributes' parameter.

As a result, authenticated users with contributor-level access or higher can inject malicious web scripts into pages. These scripts will execute whenever any user accesses the affected page.


How can this vulnerability impact me? :

This vulnerability can allow attackers with contributor-level access or above to inject malicious scripts that execute in the browsers of users who visit the infected pages.

  • It can lead to theft of user credentials or session tokens.
  • It can enable unauthorized actions on behalf of users.
  • It can compromise the integrity and trustworthiness of the affected website.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart