Advisories · WordPress
CVE-2023-2745
Medium
CVSS 5.3
WordPress language pack path handling
Disclosed 2023 · Last reviewed 2 Dec 2026
A path used while loading translation files could escape the languages directory on unpatched WordPress.
What happened
The language loader joined a path without confining it to the languages directory.
Affected and patched versions
- Affected
- WordPress before 6.2.1, and the security releases on older branches.
- Patched
- 6.2.1 and the matching security releases.
How to check your server
Check
wp core version
How to fix and harden
- Update WordPress to the security release for your branch.
- Translations belong under wp-content/languages.
Fix
wp core version
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON