WordPress Core < 6.2.1 - Directory Traversal

5.4
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2023-2745
CVSS 5.4 (Medium)
Publicly Published May 16, 2023
Last Updated January 22, 2024
Researchers Ram - Wordfence
Matt Rusnak - 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.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 4.1.38, 4.2.35, 4.3.31, 4.4.30, 4.5.29, 4.6.26, 4.7.26, 4.8.22, 4.9.23, 5.0.19, 5.1.16, 5.2.18, 5.3.15, 5.4.13, 5.5.12, 5.6.11, 5.7.9, 5.8.7, 5.9.6, 6.0.4, 6.1.2, 6.2.1
Affected Versions
  • < 4.1.38
  • 5.7 - 5.7.9 (exclusive)
  • 5.8 - 5.8.7 (exclusive)
  • 5.9 - 5.9.6 (exclusive)
Expand to see 18 more affected version ranges.
  • 6.0 - 6.0.4 (exclusive)
  • 6.1 - 6.1.2 (exclusive)
  • 6.2 - 6.2.1 (exclusive)
  • 4.2 - 4.2.35 (exclusive)
  • 4.3 - 4.3.31 (exclusive)
  • 4.4 - 4.4.30 (exclusive)
  • 4.5 - 4.5.29 (exclusive)
  • 4.6 - 4.6.26 (exclusive)
  • 4.7 - 4.7.26 (exclusive)
  • 4.8 - 4.8.22 (exclusive)
  • 4.9 - 4.9.23 (exclusive)
  • 5.0 - 5.0.19 (exclusive)
  • 5.1 - 5.1.16 (exclusive)
  • 5.2 - 5.2.18 (exclusive)
  • 5.3 - 5.3.15 (exclusive)
  • 5.4 - 5.4.13 (exclusive)
  • 5.5 - 5.5.12 (exclusive)
  • 5.6 - 5.6.11 (exclusive)
Patched Versions
  • 4.1.38
  • 4.2.35
  • 4.3.31
  • 4.4.30
Expand to see 18 more patched versions.
  • 4.5.29
  • 4.6.26
  • 4.7.26
  • 4.8.22
  • 4.9.23
  • 5.0.19
  • 5.1.16
  • 5.2.18
  • 5.3.15
  • 5.4.13
  • 5.5.12
  • 5.6.11
  • 5.7.9
  • 5.8.7
  • 5.9.6
  • 6.0.4
  • 6.1.2
  • 6.2.1

Recent vulnerabilities in WordPress

# Title CVE ID CVSS Researchers Date
1 WordPress <= 6.9.1 - Cross-Site Scripting via Client-Side Template Override in Admin Area 4.4 Asaf Mozes March 10, 2026
2 WordPress <= 6.9.1 - Missing Authorization to Authenticated (Author+) Sensitive Information Disclosure via query-attachments AJAX Endpoint 4.3 Vitaly Simonovich March 10, 2026
3 WordPress 6.9 - 6.9.1 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Note Creation via REST API CVE-2026-3906 4.3 kaminuma March 10, 2026
4 WordPress <= 6.9.1 - Authenticated (Author+) XML External Entity Injection via getID3 Library Media Upload 6.5 Youssef Achtatal March 10, 2026
5 WordPress <= 6.9.1 - Authenticated (Administrator+) Stored Cross-Site Scripting via Navigation Menu Items 4.4 sibwtf March 10, 2026
6 WordPress <= 6.9.1 - Unauthenticated Blind Server-Side Request Forgery via XML-RPC Pingback Discovery 5.8 sibwtf March 10, 2026
7 WordPress <= 6.8.2 - Authenticated (Contributor+) Sensitive Information Exposure CVE-2025-58246 4.3 Abu Hurayra (HurayraIIT) September 22, 2025
8 WordPress <= 6.8.2 - Authenticated (Author+) Stored Cross-Site Scripting CVE-2025-58674 6.4 SavPhill (Savphill) September 22, 2025
9 WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via HTML API CVE-2024-6307 6.4 Alex Concha, Dennis Snell, Grzegorz Ziółkowski, Aaron Jorbin June 24, 2024
10 WordPress Core < 6.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Template Part Block CVE-2024-31111 6.4 Rafie Muhammad June 24, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation