{"id":"CVE-2025-14388","aliases":["EUVD-2025-204781","GHSA-pgxv-mqxq-9799"],"status":"published","title":"PhastPress \u003c= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00484,"percentile":0.42164,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-158"],"published":"2025-12-23T09:20:03Z","modified":"2026-10-19T22:10:00Z","products":[{"vendor":"kiboit","product":"phastpress"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570"},{"url":"https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597"},{"url":"https://plugins.trac.wordpress.org/changeset/3418139"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14388"},{"url":"https://github.com/advisories/GHSA-pgxv-mqxq-9799"}],"sources":{"cve":[{"id":"CVE-2025-14388","title":"PhastPress \u003c= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","status":"published","published":"2025-12-23T09:20:03.42Z","modified":"2026-04-08T17:31:49.693Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-158"],"updated_at":"2026-11-02T14:32:28.250136Z"}],"euvd":[{"id":"EUVD-2025-204781","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","status":"published","published":"2025-12-23T09:20:03Z","modified":"2026-04-08T17:31:49Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:24:34.419469Z"}],"ghsa":[{"id":"GHSA-pgxv-mqxq-9799","title":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null...","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","status":"published","published":"2025-12-23T12:30:18Z","modified":"2025-12-23T12:30:29Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-158"],"updated_at":"2026-11-02T15:05:19.885762Z"}],"nvd":[{"id":"CVE-2025-14388","description":"The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.","status":"published","published":"2025-12-23T10:15:43.673Z","modified":"2026-10-19T22:10:00.13Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-158"],"updated_at":"2026-11-02T14:11:52.309391Z"}]}}
