ochResponsiveImages 4.2.1 for Joomla 5.4+/6.0+
| Version | 4.2.1 |
|---|---|
| Maturity | Stable |
| Release Date | 2026-11-24 |
| Tags | |
Changelog
| Type | Change |
|---|---|
| Security | With "Include Remote Images" on (default = off), a remote image URL path must now end in jpg/jpeg/png/webp/avif, and the downloaded bytes must be such an image before anything is written (gif/svg no longer downloaded) |
| Security | On update, every file that is not an image or .src record is removed from the image cache folder (only when that folder really lies inside images/), listing them with a warning. |
| Security | The remote image address check could be bypassed (redirects followed unchecked, IPv4-only lookup, DNS rebinding) and could be switched off by an Administrator, letting content users make the server fetch - and publicly store - responses from internal addresses; remote images are now fetched only through OchHelper::fetchPublicUrl() (every hop checked, IPv4 and IPv6, address pinned) and the "Block Private Network Addresses" option is removed |
| Fix | getType on null when onContentPrepare called on non-html page |
| Fix | Security hardening: remote images were cached under a key of the URL path only, so an image from another host with the same path (e.g. /images/logo.jpg) could replace the site's own cached image; remote cache keys now include scheme, host and port |
| Fix | Security hardening: image sizes and errors were not bounded; widths are now capped at the source width, images over 40 MP are skipped, remote files are limited to 20 MB with failures retried after a day and at most 5 downloads per page view, and any error now leaves the page unchanged Label: security fix (availability; author / content user). |
| Fix | A menu item override merged all of its parameters into the plugin settings (in place) |
| Fix | Security hardening: the rewritten |
| Change | Updated helper files |
| Change | Security hardening: an image path with "../" made the plugin publish resized copies of images from outside the site or from protected folders; local images must now be files inside the site |
| Change | Security hardening: only an image cache folder name under images/ is accepted now (else images/ochri, with a log warning), plus validate="options" |
| Notes | This version will only install on Joomla 5.4+/6.0+ and PHP 8.1+ |
Installation Notes
Joomla! 6 Joomla! 5 Joomla! 4 (EOL - Not supported) Joomla! 3 (EOL - Not supported) PHP 8.1+
See: Documentation