VYPR
Medium severity6.5NVD Advisory· Published May 7, 2025· Updated Apr 23, 2026

CVE-2025-47506

CVE-2025-47506

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

DOM-Based XSS in WordPress Contextual Related Posts plugin (<=4.0.2) allows attackers to inject malicious scripts via crafted input, requiring user interaction.

Vulnerability

Overview

The Contextual Related Posts plugin for WordPress versions 4.0.2 and earlier contains a DOM-Based Cross-Site Scripting (XSS) vulnerability due to improper neutralization of user-supplied input during web page generation [1]. This flaw enables an attacker to inject arbitrary JavaScript into the plugin's output, which is then executed in the browser of a victim visiting the affected site.

Exploitation

Requirements

Exploitation requires a privileged user—such as an administrator—to perform an action like clicking a malicious link, visiting a crafted page, or submitting a specially crafted form [1]. The attacker does not need direct access to the site but must trick a logged-in user with sufficient privileges into triggering the payload. This user interaction is a prerequisite for successful exploitation.

Impact

If exploited, the attacker can inject malicious scripts that may redirect visitors, display unwanted advertisements, or deliver other HTML payloads [1]. Such scripts execute in the context of the victim's browser session, potentially leading to session hijacking, defacement, or further compromise of the WordPress installation.

Mitigation

The vulnerability has been addressed in version 4.0.3 of the plugin [1]. Users are strongly advised to update immediately. Patchstack users can enable auto-updates for vulnerable plugins. Given that similar vulnerabilities are often used in mass-exploit campaigns, prompt patching is critical [1].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.