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

CVE-2023-2745 affects 5 listed versions of WordPress in the Dawnsentry catalogue.

5.4CVSS medium
Proof of concept publicexploitation
80%EPSS (next 30 days)
17 May 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

WordPress

5 of 250 listed versions are affected. Fixed in 5.8.7, 5.7.9, 5.6.11, 5.5.12, 5.4.13. The newest release, 7.1.5, is not affected.

5.8.6 5.7.8 5.6.10 5.5.11 5.4.12

What it is

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.

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

Published by Wordfence on 17 May 2023. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2023-2745 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.