← Vulnerability feed

Vulnerability record · CVE-2023-2745 · published 17 May 2023

CVE-2023-2745: WordPress Core wp_lang parameter directory traversal

Wordpress · Wordpress

WordPress Core versions up to and including 6.2 are vulnerable to directory traversal via the 'wp_lang' parameter, allowing unauthenticated attackers to access and load arbitrary translation files. If an attacker can upload a crafted translation file, the flaw can also be used to perform cross-site scripting.

5.4 CVSS 3.1 Medium EPSS 80% · top 0.4% CWE-22 · Path traversal
5.4CVSS 3.1 base score
80%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityHigh EPSS and a public exploit raise the risk despite the medium CVSS score and lack of KEV listing.

What it is

WordPress Core versions up to and including 6.2 are vulnerable to directory traversal via the 'wp_lang' parameter, allowing unauthenticated attackers to access and load arbitrary translation files. If an attacker can upload a crafted translation file, the flaw can also be used to perform cross-site scripting.

Impact

An unauthenticated attacker can read arbitrary files on the server and, if a crafted translation file is present, execute cross-site scripting in the context of the site.

Attack surface

Reachable over the network without authentication or user interaction by manipulating the 'wp_lang' parameter; the XSS variant requires the ability to upload a crafted translation file, such as through an upload form.

Exploitation

Not listed in CISA KEV, but EPSS is 0.795 (99.6th percentile) and a public Exploit-DB entry exists, indicating high likelihood of exploitation.

What to do

  • Update WordPress Core to version 6.2.1 or later.
  • Apply the vendor patch referenced in the WordPress changeset.
  • Restrict or monitor file upload functionality to prevent crafted translation files.
  • Validate and sanitize the 'wp_lang' parameter on any custom or legacy code paths.

Detection

  • Monitor web server logs for requests with suspicious 'wp_lang' parameter values containing path traversal sequences.
  • Alert on unexpected file reads or inclusion of translation files from outside expected directories.
  • Detect uploads of translation files (.mo, .po) to non-standard locations or by unauthenticated users.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-2745 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-63030WordPress REST API route confusion leads to SQL injection and RCEWordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 contain a REST API batch endpoint route confusion flaw (CWE-436). Chained with the author__not_in…KEVEPSS 10%analysed9.8CVE-2016-10033PHPMailer isMail mailSend argument injection enables remote code executionPHPMailer before 5.2.18 fails to properly sanitize the Sender property in the mailSend function of the isMail transport, allowing a crafted backslash…KEVEPSS 100%analysed5.9CVE-2026-60137WordPress WP_Query author__not_in SQL injectionWordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection …KEVEPSS 5.9%analysed10.0CVE-2012-2399Wordpress vulnerabilityCross-site scripting (XSS) vulnerability in swfupload.swf in SWFupload 2.2.0.1 and earlier, as used in WordPress before 3.5.2, TinyMCE Image Manager …EPSS 8.6%10.0CVE-2012-2400Wordpress vulnerabilityUnspecified vulnerability in wp-includes/js/swfobject.js in WordPress before 3.3.2 has unknown impact and attack vectors.EPSS 3.0%10.0CVE-2011-3125Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Various security hard…EPSS 2.4%10.0CVE-2011-3122Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Media security."EPSS 2.6%10.0CVE-2009-2853Wordpress permissions and access controls vulnerabilityWordpress before 2.8.3 allows remote attackers to gain privileges via a direct request to (1) admin-footer.php, (2) edit-category-form.php, (3) edit-…EPSS 4.7%

Source: NIST National Vulnerability Database (record CVE-2023-2745), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.