Skip to main content

Word Replacer CVE-2026-3620

| EUVDEUVD-2026-33895 MEDIUM
Improper Input Validation (CWE-20)
2026-06-02 Wordfence GHSA-px2q-qrrj-jj65
4.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Compromise or obtain WordPress Administrator credentials
  2. Delivery
    Authenticate to wp-admin dashboard
  3. Exploit
    Open Word Replacer plugin settings
  4. Install
    Inject JavaScript payload into 'replacement' parameter and save
  5. C2
    Victim user loads a page with active replacement rule
  6. Execute
    Stored XSS payload executes in victim's browser
  7. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Word Replacer 0 ≤0.4

Affected Packages

euvd word_replacer no fix

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

Vendor (Wordfence) PRIMARY 4.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.1%
Top 78% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy