Skip to main content
Public proof of conceptFix available

CVE-2023-2745

A public proof of concept exists; no exploitation attested.

  • Published2023-05-17
  • Fixed in6.2.1 · 6.1.2 · 6.0.4 · 5.9.6 · 5.8.7 · 5.7.9
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-05-1709:15CVE publishedNVD
  2. 2025-04-22Exploit-DB entryExploit-DB

Versions per branch

OSV · NVD
WordPress
BranchAffectedFixed in
6.2≥ 6.2.0, < 6.2.16.2.1
6.1≥ 6.1, < 6.1.26.1.2
6.1≥ 6.1.0, < 6.1.26.1.2
6.0≥ 6.0, < 6.0.46.0.4
6.0≥ 6.0.0, < 6.0.46.0.4
5.9≥ 5.9, < 5.9.65.9.6
5.9≥ 5.9.0, < 5.9.65.9.6
5.8≥ 5.8, < 5.8.75.8.7
5.8≥ 5.8.0, < 5.8.75.8.7
5.7≥ 5.7, < 5.7.95.7.9
5.7≥ 5.7.0, < 5.7.95.7.9
5.6≥ 5.6, < 5.6.115.6.11

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Wordfence, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • WordPress Foundation WordPressother versions: not affected
    Affected
    • < 4.1.38fixed in 4.1.38semver
    • ≥ 4.2, < 4.2.35fixed in 4.2.35semver
    • ≥ 4.3, < 4.3.31fixed in 4.3.31semver
    • ≥ 4.4, < 4.4.30fixed in 4.4.30semver
    • ≥ 4.5, < 4.5.29fixed in 4.5.29semver
    • ≥ 4.6, < 4.6.26fixed in 4.6.26semver
    • ≥ 4.7, < 4.7.26fixed in 4.7.26semver
    • ≥ 4.8, < 4.8.22fixed in 4.8.22semver

    14 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-04-08

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • wordpressUbuntu:24.04:LTSall versions · no fixed version listed
  • wordpressUbuntu:22.04:LTSall versions · no fixed version listed
  • wordpressUbuntu:20.04:LTSall versions · no fixed version listed
  • wordpressUbuntu:18.04:LTSall versions · no fixed version listed
  • wordpressUbuntu:16.04:LTSall versions · no fixed version listed
  • wordpressDebian:14all versions · fixed in 6.2.1+dfsg1-1
  • wordpressDebian:13all versions · fixed in 6.2.1+dfsg1-1
  • wordpressDebian:12all versions · fixed in 6.1.6+dfsg1-0+deb12u1

2 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update WordPress to 6.2.1 · 6.1.2 · 6.0.4 · 5.9.6 · 5.8.7 · 5.7.9 · 5.6.11

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-52274
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2023-05-17
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-xgqr-2mpj-w9qv

Frequently asked questions

What is CVE-2023-2745?

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.

Is CVE-2023-2745 actively exploited?

Active exploitation of CVE-2023-2745 has not been confirmed. Its EPSS score was 79.7% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-2745?

CVE-2023-2745 has a CVSS v3 base score of 6.1 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running WordPress? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record