Repository navigation
v4.4.4
This release includes security fixes for template sandbox escapes and ZIP path traversal, along with a permissions and API cleanup.
Added
- New installs now grant the
Admin.StaffRolespermission to the default manager role, ensuring staff roles remain manageable after being split from theAdmin.Staffspermission.
Fixed
- Blocked
config()calls inside Pagic template sandboxes, preventing mail and theme templates from reading application secrets (similar to the existingenv/getenvrestrictions). - Fixed a path traversal vulnerability in extension ZIP extraction: every entry in the archive is now inspected before extraction, and archives containing
..segments, absolute paths, or null bytes are rejected outright.
Breaking Changes
- Removed the
addFromUrlmethod and its associated tests from theMediaclass.