CVE-2023-2745

WordPress Core < 6.2.1 - Directory Traversal

5.4 medium EPSS 10.3%

Published 17 May 2023 Updated 8 Apr 2026 CNA: Wordfence

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.

Severity (CVSS)

5.4 medium CVSS 3.1 from Wordfence (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 10.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.4% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 13 Jan 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

Affected products

As the CNA lists them.

ProductVersions
WordPress
affected before 4.1.38
affected from 4.2, before 4.2.35
affected from 4.3, before 4.3.31
affected from 4.4, before 4.4.30
affected from 4.5, before 4.5.29
affected from 4.6, before 4.6.26
affected from 4.7, before 4.7.26
affected from 4.8, before 4.8.22
affected from 4.9, before 4.9.23
affected from 5.0, before 5.0.19
affected from 5.1, before 5.1.16
affected from 5.2, before 5.2.18
affected from 5.3, before 5.3.15
affected from 5.4, before 5.4.13
affected from 5.5, before 5.5.12
affected from 5.6, before 5.6.11
affected from 5.7, before 5.7.9
affected from 5.8, before 5.8.7
affected from 5.9, before 5.9.6
affected from 6.0, before 6.0.4
affected from 6.1, before 6.1.2
affected from 6.2, before 6.2.1
Other versions: unaffected

Is my server affected?

This CVE is in WordPress of WordPress Foundation, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2023-2745 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.