Vulnerability · Published Dec 23, 2025 · Assigned by Wordfence
CVE-2025-14388PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection
Critical 9.8
In plain English
A critical-severity security flaw in PhastPress from kiboit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kiboit | PhastPress | 0 – through 3.7 |
Weakness: CWE-158 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597
- https://plugins.trac.wordpress.org/changeset/3418139