Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise or obtain WordPress Administrator credentials
-
DeliveryAuthenticate to wp-admin dashboard
-
ExploitOpen Word Replacer plugin settings
-
InstallInject JavaScript payload into 'replacement' parameter and save
-
C2Victim user loads a page with active replacement rule
-
ExecuteStored XSS payload executes in victim's browser
-
ImpactAttacker harvests session tokens or performs actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires the attacker to hold an active, authenticated WordPress session with Administrator-level privileges or higher - confirmed by the CVSS vector PR:H. The Word Replacer plugin must be installed and active on the target WordPress site. The attack is further constrained by High Attack Complexity (AC:H), indicating that additional conditions beyond simple authentication must align (e.g., the replacement rule must be applied to pages that other users actually visit). Exploitation is limited to users whose privileges allow saving plugin settings; Contributor, Author, or Editor roles cannot trigger this vulnerability. XSS payload execution against victims also implicitly requires victims to load an affected page in their browser (UI:N applies only to the attacker's injection step, not victim impact). Sites where Administrator accounts are tightly controlled, use MFA, or are not shared among multiple people have substantially reduced realistic risk. |
| Impact | The CVSS base score of 4.4 (Medium) reflects significant real-world mitigating factors: Attack Complexity is High (AC:H) and Privileges Required are High (PR:H), meaning exploitation is constrained to already-authenticated Administrator-level users. In practice, a WordPress Administrator already has full site control, making this vulnerability most relevant in multi-administrator environments or scenarios where an attacker has compromised admin credentials through a separate vector. The Scope:Changed designation is the most notable risk amplifier - a compromised replacement rule can deliver XSS payloads to any site visitor, including lower-privileged users or unauthenticated visitors, potentially enabling session hijacking or credential theft at scale. EPSS data was not provided, but given the high privilege requirement and AC:H, opportunistic mass exploitation is unlikely. No KEV listing and no public exploit code further reduce immediate urgency. This is a real but low-priority finding for most sites unless operating in shared admin environments or handling sensitive user sessions. |
| Exploit ScenarioDerived | An attacker who has obtained WordPress Administrator credentials - through phishing, credential stuffing, or a prior compromise - navigates to the Word Replacer plugin settings and saves a crafted replacement value containing a malicious JavaScript payload (e.g., a script that exfiltrates session cookies to an attacker-controlled server). No public exploit code has been identified at time of analysis. Once saved, every user who visits any page where the replacement rule is applied will silently execute the attacker's script in their browser, enabling session hijacking or further attacks against site visitors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Stored Cross-Site Scripting in the Word Replacer WordPress plugin (versions up to and including 0.4) allows authenticated attackers with Administrator-level access to persist arbitrary JavaScript payloads via the 'replacement' parameter, which subsequently execute in the browsers of any user visiting an affected page. Reported by Wordfence, the root cause is insufficient input sanitization and output escaping in word-replacer.php at multiple code locations (lines 191, 230, 339, 343). No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis - references point exclusively to the 0.4 tag and trunk code with no indication of a fixed release. The primary recommended action is to deactivate and remove the Word Replacer plugin immediately until a patched version is published; this eliminates the attack surface entirely with no functional trade-off beyond losing the word-replacement feature. As a compensating control if the plugin cannot be removed, restrict WordPress Administrator account access to the minimum necessary number of trusted users and enforce strong multi-factor authentication on all admin accounts - this raises the bar for the PR:H prerequisite significantly. Additionally, deploying a Web Application Firewall (WAF) such as Wordfence's own firewall can detect and block stored XSS injection attempts targeting plugin parameters, though WAF rules may not cover all bypass variants. Monitor the WordPress plugin repository (https://plugins.trac.wordpress.org/browser/word-replacer/) and the Wordfence advisory for patch announcements.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Word Replacer plugin (vendor: takien, CPE: cpe:2.3:a:takien:word_replacer:*:*:*:*:*:*:*:*) is a WordPress plugin that replaces words or phrases in page/post content with user-defined substitutions. The vulnerability arises in the plugin's PHP code (word-replacer.php) at multiple output-rendering locations - specifically lines 191, 230, 339, and 343 in both the 0.4 tag and current trunk - where the 'replacement' parameter is neither sanitized on input nor properly escaped on output. CWE-20 (Improper Input Validation) is the assigned root cause class, though the failure is more precisely a combined input sanitization and output escaping gap typical of stored XSS. Because WordPress renders saved replacement values into page HTML at runtime, any injected script is stored server-side and delivered to all subsequent page visitors, giving this vulnerability a Changed scope (S:C) per the CVSS vector.
Know when Word Replacer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Word Replacer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'replacement' parameter in all versions up to, and including, 0.4. This is due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-33895
GHSA-px2q-qrrj-jj65
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB