v4.0.1 - Security fixes
Security fixes
This is a security patch release. All fixes are post-auth (require manage_options) but recommended for all installations, especially shared hosting and multisite.
- Predictable temp directory (Medium, CWE-330/377): Replaced
md5(time())withwp_generate_password()for the export temp directory name to prevent symlink/TOCTOU attacks on shared hosts. - Web-accessible WP bootstrap (Low, CWE-665): Deprecated
jekyll-export-cli.phpnow rejects non-CLI access before loadingwp-load.php. - Path sanitization (Low, CWE-22): Each path segment of page filenames is now individually sanitized as defense-in-depth against path traversal.
- Multisite cache correctness (Low, CWE-665):
copy_recursive()symlink-allow-list cache is now keyed by blog ID.
Full Changelog: v4.0.0...v4.0.1