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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 10.31% (percentile 96, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** EDB-52274
- **Published:** 2023-05-17T08:36:44.034Z
- **Modified:** 2026-06-17T05:53:20.497Z

## Who should check

- Anyone running WordPress Foundation WordPress \< 4.1.38; \>= 4.2, \< 4.2.35; \>= 4.3, \< 4.3.31; \>= 4.4, \< 4.4.30; \>= 4.5, \< 4.5.29; \>= 4.6, \< 4.6.26; \>= 4.7, \< 4.7.26; \>= 4.8, \< 4.8.22; \>= 4.9, \< 4.9.23; \>= 5.0, \< 5.0.19; …

## 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.

## Affected and fixed versions

- WordPress Foundation WordPress: \< 4.1.38; \>= 4.2, \< 4.2.35; \>= 4.3, \< 4.3.31; \>= 4.4, \< 4.4.30; \>= 4.5, \< 4.5.29; \>= 4.6, \< 4.6.26; \>= 4.7, \< 4.7.26; \>= 4.8, \< 4.8.22; \>= 4.9, \< 4.9.23; \>= 5.0, \< 5.0.19; … (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-2745. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-2745.md
Affected: WordPress Foundation WordPress < 4.1.38; >= 4.2, < 4.2.35; >= 4.3, < 4.3.31; >= 4.4, < 4.4.30; >= 4.5, < 4.5.29; >= 4.6, < 4.6.26; >= 4.7, < 4.7.26; >= 4.8, < 4.8.22; >= 4.9, < 4.9.23; >= 5.0, < 5.0.19; …
Fixed in: WordPress Foundation WordPress 4.1.38, WordPress Foundation WordPress 4.2.35, WordPress Foundation WordPress 4.3.31, WordPress Foundation WordPress 4.4.30, WordPress Foundation WordPress 4.5.29, WordPress Foundation WordPress 4.6.26, WordPress Foundation WordPress 4.7.26, WordPress Foundation WordP…

Steps:
1. Search this machine and project for WordPress Foundation WordPress: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-2745 being exploited?

There is no confirmed exploitation: CVE-2023-2745 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 10.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-2745?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-2745?

WordPress Foundation WordPress \< 4.1.38; \>= 4.2, \< 4.2.35; \>= 4.3, \< 4.3.31; \>= 4.4, \< 4.4.30; \>= 4.5, \< 4.5.29; \>= 4.6, \< 4.6.26; \>= 4.7, \< 4.7.26; \>= 4.8, \< 4.8.22; \>= 4.9, \< 4.9.23; \>= 5.0, \< 5.0.19; ….

### Is there a fix for CVE-2023-2745?

Yes. Fixed in WordPress Foundation WordPress 4.1.38, WordPress Foundation WordPress 4.2.35, WordPress Foundation WordPress 4.3.31, WordPress Foundation WordPress 4.4.30, WordPress Foundation WordPress 4.5.29, WordPress Foundation WordPress 4.6.26, WordPress Foundation WordPress 4.7.26, WordPress Foundation WordPress 4.8.22, WordPress Foundation WordPress 4.9.23, WordPress Foundation WordPress 5.0.19. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-2745?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://core.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=55765%40%2F&new=55765%40%2F&sfp_email=&sfph_mail=>
- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/edcf46b6-368e-49c0-b2c3-99bf6e2d358f?source=cve>
- wordfence: <https://www.wordfence.com/blog/2023/05/wordpress-core-6-2-1-security-maintenance-release-what-you-need-to-know/>
- exploit: <https://www.exploit-db.com/exploits/52274>
- exploit: <http://packetstormsecurity.com/files/172426/WordPress-Core-6.2-XSS-CSRF-Directory-Traversal.html>
- other: <https://wordpress.org/news/2023/05/wordpress-6-2-1-maintenance-security-release/>
- other: <https://lists.debian.org/debian-lts-announce/2023/06/msg00024.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-2745>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52274>

HTML: <https://flawdb.com/CVE-2023-2745> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-2745>
