CVE-2023-2745

WordPress Core < 6.2.1 - Directory Traversal

State
Published
Severity
5.4 Medium
Published
May 17, 2023
Updated
Apr 8, 2026
Reserved
May 16, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NWordfence

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
WordPressWordPress Foundation
  • before 4.1.38Affected
  • 4.2 to before 4.2.35Affected
  • 4.3 to before 4.3.31Affected
  • 4.4 to before 4.4.30Affected
  • 4.5 to before 4.5.29Affected
  • 4.6 to before 4.6.26Affected
  • 4.7 to before 4.7.26Affected
  • 4.8 to before 4.8.22Affected
  • 4.9 to before 4.9.23Affected
  • 5.0 to before 5.0.19Affected
  • 5.1 to before 5.1.16Affected
  • 5.2 to before 5.2.18Affected
  • 5.3 to before 5.3.15Affected
  • 5.4 to before 5.4.13Affected
  • 5.5 to before 5.5.12Affected
  • 5.6 to before 5.6.11Affected
  • 5.7 to before 5.7.9Affected
  • 5.8 to before 5.8.7Affected
  • 5.9 to before 5.9.6Affected
  • 6.0 to before 6.0.4Affected
  • 6.1 to before 6.1.2Affected
  • 6.2 to before 6.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.