Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
1DescriptionCVE.org
The Loco Translate plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.8.2 via the fsReference AJAX route. This is due to the findSourceFile() method normalizing user-supplied ref paths containing ../ directory traversal sequences without validating that the resolved path remains within the intended bundle or content directory. This makes it possible for authenticated attackers, with Translator-level access and above (custom loco_admin capability required, granted to the translator role and administrators by default), to read arbitrary .php, .js, .json, and .twig files from the server filesystem outside the intended translation directory. Files named wp-config.php are excluded.
AnalysisAI
Loco Translate plugin for WordPress versions up to 2.8.2 allows authenticated attackers with Translator-level access to read arbitrary files outside the intended translation directory via path traversal in the fsReference AJAX endpoint. The vulnerability exploits insufficient validation of directory traversal sequences (../) in the findSourceFile() method, enabling disclosure of sensitive .php, .js, .json, and .twig files including wp-config.php-adjacent files. No public exploit code has been identified at time of analysis, and the attack requires administrative capability assignment (loco_admin capability) granted to translators by default.
Technical ContextAI
The vulnerability resides in the FsReferenceController.php AJAX route handler, specifically the findSourceFile() method which processes user-supplied ref parameters. The method normalizes paths containing ../ sequences but fails to validate that the resolved file path remains within the designated bundle or content directory boundary. This is a classic Path Traversal (CWE-22) vulnerability where inadequate input validation allows an attacker to access files outside the intended application namespace. The fsReference AJAX endpoint is accessible to authenticated users with the loco_admin custom capability, which is granted to the translator role and administrators by default in WordPress. The plugin's file reading mechanism does not properly implement allowlist-based path validation or restrict access to parent directories above the translation working directory.
RemediationAI
Update Loco Translate to version 2.8.3 or later, which includes path validation fixes in the findSourceFile() method to prevent directory traversal. Apply the patch from the plugin repository at https://plugins.trac.wordpress.org/changeset?old_path=%2Floco-translate/tags/2.8.2&new_path=%2Floco-translate/tags/2.8.3. As an interim workaround before patching, restrict the loco_admin capability to site administrators only and remove it from the translator role using capability management plugins or code (e.g., remove_cap('translator', 'loco_admin')). Alternatively, disable the Loco Translate plugin entirely on sites where the AJAX fsReference endpoint is not actively used for translation workflows. Additionally, implement file access logging and monitoring for the /wp-admin/admin-ajax.php?action=loco_fsReference endpoint to detect exploitation attempts targeting parent directory access patterns. Monitor for requests containing ../ sequences in the ref parameter.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-27169