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

Published May 17, 2023
·
Updated

WordPress Core is vulnerable to Directory Traversal in versions up to, and including, 6.2, via the ‘wplang’ 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 Software

28 affected componentsFixes available
WordPress WordPress<4.1.38
WordPress WordPress>=4.2<4.2.35
WordPress WordPress>=4.3<4.3.31
WordPress WordPress>=4.4<4.4.30
WordPress WordPress>=4.5<4.5.29
WordPress WordPress>=4.6<4.6.26
WordPress WordPress>=4.7<4.7.26
WordPress WordPress>=4.8<4.8.22
WordPress WordPress>=4.9<4.9.23
WordPress WordPress>=5.0<5.0.19
WordPress WordPress>=5.1<5.1.16
WordPress WordPress>=5.2<5.2.18
WordPress WordPress>=5.3<5.3.15
WordPress WordPress>=5.4<5.4.13
WordPress WordPress>=5.5<5.5.12
WordPress WordPress>=5.6<5.6.11
WordPress WordPress>=5.7<5.7.9
WordPress WordPress>=5.8<5.8.7
WordPress WordPress>=5.9<5.9.6
WordPress WordPress>=6.0<6.0.4
WordPress WordPress>=6.1<6.1.2
WordPress WordPress=6.2
debian/wordpress
5.0.19+dfsg1-0+deb10u15.7.11+dfsg1-0+deb11u16.1.6+dfsg1-0+deb12u16.2.1+dfsg1-1
ubuntu/wordpress*
ubuntu/wordpress*
ubuntu/wordpress*
ubuntu/wordpress*
ubuntu/wordpress*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/wordpress to a version that resolves this vulnerability.

    Fixed in 5.0.19+dfsg1-0+deb10u1Fixed in 5.7.11+dfsg1-0+deb11u1Fixed in 6.1.6+dfsg1-0+deb12u1Fixed in 6.2.1+dfsg1-1
  2. Upgrade

    Upgrade WordPress Core to a version that resolves this vulnerability.

    Fixed in 6.2.1

Event History

May 17, 2023
CVE Published
via MITRE·08:36 AM
Data Sourced
via MITRE·08:36 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 AM
DescriptionSeverityAffected Software
Data Sourced
09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 22, 2025
Exploit Published
via GitHub·09:41 PM
Apr 8, 2026
Updated
via NVD·07:18 PM
WeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2023-2745.

2

What is the title of this vulnerability?

The title of this vulnerability is 'WordPress Core is vulnerable to Directory Traversal in versions up to and including 6.2 via the ‘wp_lang’ parameter.'

3

What is the severity of CVE-2023-2745?

The severity of CVE-2023-2745 is medium (5.4).

4

How does CVE-2023-2745 impact WordPress?

CVE-2023-2745 allows unauthenticated attackers to access and load arbitrary translation files in WordPress versions up to and including 6.2.

5

Are there any known fixes for CVE-2023-2745?

At the moment, there are no known fixes for CVE-2023-2745. It is recommended to update to a newer version of WordPress when a fix becomes available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203