CVE-2023-2745 MEDIUM

CVE-2023-2745: WordPress Core < 6.2.1 - Directory Traversal

Vendor Wordpress Foundation
Product WordPress
Weakness CWE-22 · Path traversal
Published May 17, 2023
Last update April 8, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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 could be also used to perform a Cross-Site Scripting attack.

Explanation of Vulnerability in Simple Terms

02Summary

WordPress versions before 4.1.38 contain a path traversal vulnerability that allows an attacker to read files outside the intended directory. The vulnerability requires specific network conditions to exploit but does not require authentication or user interaction. An attacker can access sensitive files and potentially modify content on the affected site.

What an attacker can do

03Attacker Capabilities

Read files outside the intended directory and potentially modify site content.

Potential impact on your site

04Site Impact

Sensitive files may be exposed; site content could be altered without authorization.

Conditions required to exploit

05Prerequisites

Network access to the WordPress site; specific network conditions required (high attack complexity).

Key dates

06Disclosure timeline

May 17, 2023 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE