The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-2745

CVE-2023-2745: WordPress Core Path Traversal Vulnerability

CVE-2023-2745 is a path traversal vulnerability in WordPress Core affecting versions up to 6.2. Attackers can access arbitrary translation files and potentially execute XSS attacks. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2023-2745 Overview

WordPress Core is vulnerable to Directory Traversal in versions up to, and including, 6.2, via the wp_lang parameter. This allows unauthenticated attackers to access and load arbitrary translation files. In cases where an attacker is able to upload a crafted translation file onto the site, such as via an upload form, this vulnerability could also be leveraged to perform a Cross-Site Scripting (XSS) attack.

Critical Impact

Unauthenticated attackers can exploit directory traversal to load arbitrary translation files, potentially escalating to XSS attacks when combined with file upload capabilities.

Affected Products

  • WordPress Core versions up to and including 6.2
  • WordPress Core versions prior to 4.1.38
  • WordPress Core versions 4.2.x through 6.2.x (various branches)

Discovery Timeline

  • 2023-05-17 - CVE-2023-2745 published to NVD
  • 2023-05-16 - WordPress releases security patch in version 6.2.1
  • 2025-04-24 - Last updated in NVD database

Technical Details for CVE-2023-2745

Vulnerability Analysis

This directory traversal vulnerability exists in WordPress Core's handling of the wp_lang parameter used for loading translation files. The vulnerability allows unauthenticated attackers to manipulate the language parameter to traverse outside the intended directory structure and load arbitrary .mo (Machine Object) translation files from locations not intended to be accessible.

The attack surface becomes significantly more dangerous when combined with file upload functionality. If an attacker can upload a maliciously crafted translation file to the server (through legitimate upload forms, compromised plugins, or other means), they can then use this directory traversal to load that file, resulting in Cross-Site Scripting execution in the context of authenticated users.

Root Cause

The root cause is insufficient input validation and sanitization of the wp_lang parameter before it is used to construct file paths for loading translation files. WordPress failed to properly validate that the requested translation file path remained within the expected language directory, allowing path traversal sequences to escape the intended directory boundary.

Attack Vector

The attack is network-accessible and requires no authentication or special privileges. An attacker exploits this vulnerability by manipulating the wp_lang parameter in HTTP requests to include directory traversal sequences (such as ../). This allows the attacker to specify paths outside the normal translation file directory.

When a vulnerable WordPress installation processes this malicious request, it attempts to load the translation file from the attacker-specified path. If the attacker has previously uploaded a malicious translation file containing XSS payloads, loading this file can result in script execution in victim browsers. The attack requires user interaction (visiting the malicious page) for the XSS component to execute.

Detection Methods for CVE-2023-2745

Indicators of Compromise

  • Unusual HTTP requests containing wp_lang parameter with path traversal sequences like ../ or ..%2F
  • Access logs showing requests to WordPress pages with abnormal wp_lang values
  • Presence of unexpected .mo or .po files in non-standard directories
  • Evidence of unauthorized file uploads, particularly translation files in unusual locations

Detection Strategies

  • Monitor web server access logs for requests containing wp_lang parameter with directory traversal patterns
  • Implement Web Application Firewall (WAF) rules to detect and block path traversal attempts in the wp_lang parameter
  • Review file system for recently created or modified translation files outside the standard wp-content/languages directory
  • Deploy endpoint detection to identify potential XSS execution following directory traversal exploitation

Monitoring Recommendations

  • Enable detailed logging for all requests to WordPress installations
  • Configure alerts for suspicious patterns in the wp_lang parameter across your WordPress fleet
  • Monitor for anomalous file creation events in WordPress directories
  • Implement content security policies (CSP) to help mitigate the impact of any successful XSS attacks

How to Mitigate CVE-2023-2745

Immediate Actions Required

  • Update WordPress Core to version 6.2.1 or later immediately
  • Review server logs for any evidence of exploitation attempts
  • Audit uploaded files for suspicious translation files that may have been planted for exploitation
  • Implement WAF rules to block directory traversal attempts in the wp_lang parameter

Patch Information

WordPress addressed this vulnerability in the WordPress 6.2.1 Maintenance and Security Release published in May 2023. The fix implements proper input validation and path canonicalization to prevent directory traversal via the wp_lang parameter. Technical details of the changes can be reviewed in the WordPress Trac Changeset.

For systems running Debian-based distributions, refer to the Debian LTS Announcement for package-specific updates.

Workarounds

  • If immediate patching is not possible, implement WAF rules to block requests containing path traversal sequences in the wp_lang parameter
  • Restrict file upload capabilities to trusted users only and audit upload forms for proper validation
  • Consider temporarily disabling translation file loading functionality if not required for your WordPress deployment
  • Use a security plugin such as Wordfence to add additional protection layers while awaiting patch deployment
bash
# Example WAF rule pattern for Apache mod_security
SecRule ARGS:wp_lang "@contains ../" "id:1001,phase:1,deny,status:403,msg:'Directory traversal attempt in wp_lang parameter'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability77.81%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Packet Storm Security Analysis

  • Debian LTS Announcement

  • WordPress 6.2.1 Security Release

  • Wordfence Vulnerability Report

  • Exploit-DB #52274
  • Vendor Resources
  • WordPress Trac Changeset
  • Related CVEs
  • CVE-2026-3243: Advanced Members ACF Path Traversal Flaw

  • CVE-2026-5436: MW WP Form Path Traversal Vulnerability

  • CVE-2026-3666: wpForo Forum Path Traversal Vulnerability

  • CVE-2026-4350: Perfmatters WordPress Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English