Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-1310 Overview
The Jobs for WordPress plugin contains a directory traversal vulnerability affecting all versions up to and including 2.7.11. The flaw resides in the job_postings_get_file parameter, which fails to properly sanitize user-supplied input before accessing files on the server. Authenticated attackers with Subscriber-level access or higher can exploit this weakness to read the contents of arbitrary files on the host system. The impacted files may contain configuration secrets, database credentials, or other sensitive data useful for further compromise. This issue is tracked under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Critical Impact
Low-privileged authenticated users can read arbitrary files on the WordPress server, exposing credentials and configuration data that enable deeper intrusion.
Affected Products
- Jobs for WordPress plugin (job-postings) versions up to and including 2.7.11
- WordPress sites with Subscriber or higher-level registration enabled
- Any WordPress installation where the vulnerable plugin is active
Discovery Timeline
- 2025-03-26 - CVE-2025-1310 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-1310
Vulnerability Analysis
The vulnerability exists in the class-job-get-uploaded-file.php handler within the Jobs for WordPress plugin. The affected code path processes the job_postings_get_file request parameter and uses the supplied value to construct a file path for retrieval. Because the plugin does not validate or normalize the input against the intended upload directory, attackers can include traversal sequences such as ../ to escape the plugin's working directory. The server then returns the contents of files outside the expected scope.
Exploitation requires only Subscriber-level authentication, a role that many WordPress sites allow users to self-register for. Targets of interest include wp-config.php, which stores database credentials and authentication keys, and server configuration files that may expose additional secrets. The plugin changeset that resolves this issue is documented in the WordPress Job Postings Changeset record.
Root Cause
The root cause is missing input validation on the job_postings_get_file parameter. The file retrieval function in class-job-get-uploaded-file.php accepts an attacker-controlled filename and concatenates it into a filesystem path without enforcing a canonical path check or rejecting traversal characters.
Attack Vector
An authenticated attacker sends a crafted HTTP request to the vulnerable endpoint, supplying a job_postings_get_file value containing ../ sequences that resolve to a target file outside the uploads directory. The server reads and returns the file contents in the response. The attack is remote, requires low privileges, and does not require user interaction. Technical analysis is available in the Wordfence Vulnerability Analysis.
Detection Methods for CVE-2025-1310
Indicators of Compromise
- HTTP requests containing the job_postings_get_file parameter with values that include ../, ..%2f, or URL-encoded traversal sequences.
- Access log entries showing authenticated Subscriber accounts repeatedly invoking the plugin's file retrieval endpoint.
- Unexpected outbound reads of sensitive files such as wp-config.php, /etc/passwd, or .htaccess correlated with plugin activity.
Detection Strategies
- Review web server access logs for requests to the Jobs for WordPress plugin endpoints that include path traversal patterns in query parameters.
- Alert on newly registered Subscriber accounts that immediately interact with plugin file-handling endpoints.
- Deploy a Web Application Firewall (WAF) rule to flag job_postings_get_file values containing ../ or encoded variants.
Monitoring Recommendations
- Monitor WordPress audit logs for anomalous file access by low-privileged roles.
- Track plugin version inventory across WordPress installations to confirm patch status.
- Correlate authentication events with file retrieval requests to identify abuse of self-registered accounts.
How to Mitigate CVE-2025-1310
Immediate Actions Required
- Update the Jobs for WordPress plugin to a version later than 2.7.11 as soon as the vendor release is available.
- Audit WordPress user accounts and remove unauthorized Subscriber registrations created during the exposure window.
- Rotate secrets stored in wp-config.php, including database credentials and authentication keys, if compromise is suspected.
Patch Information
The maintainers addressed the directory traversal in the plugin changeset 3257145, which introduces input validation on the job_postings_get_file parameter. Review the WordPress Job Postings Changeset for the fix. Upgrade through the WordPress plugin management interface or by replacing the plugin files manually.
Workarounds
- Disable the Jobs for WordPress plugin until an upgrade is completed.
- Restrict new user self-registration or require administrator approval for new Subscriber accounts.
- Deploy a WAF rule to block requests containing traversal sequences in the job_postings_get_file parameter.
# Example WAF rule concept - block traversal in the vulnerable parameter
# ModSecurity-style pseudo rule
SecRule ARGS:job_postings_get_file "@rx (\.\./|\.\.%2f|%2e%2e/)" \
"id:1310001,phase:2,deny,status:403,msg:'CVE-2025-1310 traversal attempt'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

