CVE-2025-47506

WordPress Contextual Related Posts plugin <= 4.0.2 - Cross Site Scripting (XSS) Vulnerability

Published May 7, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ajay Contextual Related Posts contextual-related-posts allows DOM-Based XSS.This issue affects Contextual Related Posts: from n/a through <= 4.0.2.

Analysis

AI-generated

Technical impact

The vulnerability is a DOM‑based Cross‑Site Scripting flaw in the WordPress Contextual Related Posts plugin. An attacker can inject malicious JavaScript that runs in the browsers of users who view a page that incorporates content from the plugin. This runtime code can exfiltrate data, hijack user sessions, or facilitate phishing attacks within the victim’s session.

Affected Systems

Any WordPress site using the Ajay Contextual Related Posts plugin version 4.0.2 or earlier is affected. The plugin is installed through the WordPress plugin repository and is used to display related post lists on web pages.

Risk and Exploitability

The CVSS score of 6.5 denotes moderate severity, while the EPSS score of less than 1% indicate a low likelihood of exploitation based on current evidence, and the flaw is not listed in the CISA KEV catalog. The attack vector is remote: an attacker can craft a URL or embed malicious content in a page that loads the plugin, causing a victim’s browser to execute arbitrary JavaScript when the page is viewed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Contextual Related Posts plugin to version 4.0.3 or newer.
  • If an update cannot be applied immediately, permanently disable the plugin to prevent the vulnerability from being exploited.
  • Ensure all user-supplied content processed by the plugin is escaped or sanitized to eliminate script tags and other executable elements.

Generated by OpenCVE AI on April 30, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-13818 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ajay Contextual Related Posts allows DOM-Based XSS. This issue affects Contextual Related Posts: from n/a through 4.0.2.
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ajay Contextual Related Posts allows DOM-Based XSS. This issue affects Contextual Related Posts: from n/a through 4.0.2. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ajay Contextual Related Posts contextual-related-posts allows DOM-Based XSS.This issue affects Contextual Related Posts: from n/a through <= 4.0.2.
Title WordPress Contextual Related Posts <= 4.0.2 - Cross Site Scripting (XSS) Vulnerability WordPress Contextual Related Posts plugin <= 4.0.2 - Cross Site Scripting (XSS) Vulnerability
References
Metrics cvssV3_1

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

Type Values Removed Values Added
Metrics epss

{'score': 0.00039}

epss

{'score': 0.00045}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ajay Contextual Related Posts allows DOM-Based XSS. This issue affects Contextual Related Posts: from n/a through 4.0.2.
Title WordPress Contextual Related Posts <= 4.0.2 - Cross Site Scripting (XSS) Vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
May 7, 2025, 9:39 AM
Status
Deferred
Published
May 7, 2025, 3:16 PM
Modified
Jun 17, 2026, 9:28 AM