CVE-2026-2986
Stored XSS in WordPress Contextual Related Posts Plugin
Publication date: 2026-04-18
Last updated on: 2026-04-18
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| contextual_related_posts | plugin | to 4.2.1 (inc) |
Helpful Resources
Exploitability
| 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.