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
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-20 – Improper Input Validation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-33895
GHSA-px2q-qrrj-jj65