WordPress Core < 6.2.1 - Directory Traversal

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

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 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
  • 5.1 - 5.1.16
  • 5.2 - 5.2.18
  • 5.3 - 5.3.15
  • 5.4 - 5.4.13
  • 5.5 - 5.5.12
  • 5.6 - 5.6.11
  • 5.7 - 5.7.9
  • 5.8 - 5.8.7
  • 5.9 - 5.9.6
  • 6.0 - 6.0.4
  • 6.1 - 6.1.2
  • 6.2 - 6.2.1
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
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.