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

Improper Neutralization of Null Byte or NUL Character
CVE CVE-2025-14388
CVSS Critical (9.8)
Publicly Published December 22, 2025
Last Updated December 23, 2025
Researcher shark3y
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.

References

1 affected software package

Software Type Plugin
Software Slug phastpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.7
Patched Version
  • 3.8
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.