Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-14388 EUVD-2025-204781GHSA-pgxv-mqxq-9799

PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection

Published Dec 23, 2025 · Updated Apr 8, 2026 · Assigned by Wordfence

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

VendorProductAffectedFixed
kiboit PhastPress ≤ 3.7 —

References