ochSubscriptions Package 6.2.0 for Joomla 5.4+/6.0+

Version 6.2.0
Maturity Stable
Release Date 2026-12-02
Tags
  • Joomla5
  • Joomla6
  • CE marked (EU Cyber Resilience Act)
Changelog
Type Change
Security [CRITICAL: CVE-2026-133343] Security: product and category ids from the request cast to integers (SQL injection)
Security [HIGH: CVE-2026-133344] Security: free checkout refused for orders that aren't free
Security [HIGH: CVE-2026-133345] Security: upgrade/renewal only from the user's own subscription; no recurring action from the request
Security [MEDIUM: CVE-2026-133346] Security: device.save checks the owner and saves only editable fields
Fix Saving a file with download type "link" failed with a TypeError
Fix Refactored logic for "Coupon already used” after an unfinished payment: a personal or limited coupon is now only counted as used after a successful order, and it stays applied in the checkout after a cancelled payment even after time outs of the session etc.
Fix Cart totals lagged one step behind the discounts shown per product
Fix Invoice PDF was first written to the site's tmp folder and copying it to the invoice folder in some occasions left an empty file behind. The PDF is now written straight to the invoice folder.
Fix Security hardening: adding a product cancels the payment started for the order
Fix Security hardening: product purchases never add or remove core.admin (Super User) groups
Fix Security hardening: financial report options bind as integers
Fix Security hardening: exports get a random name and are deleted after the download
Fix Security hardening: template variables rendering limited to non-secret values
Fix Security hardening: queued e-mails go through the form; queue list escapes them
Fix Security hardening: download and invoice folder options restricted and only used when resolvable within site
Fix Security hardening: profile save binds billing details to the user's own customer record
Fix Security hardening: payment return pages only for the visitor's own order
Fix Security hardening: "link" files fetched only after the access check, not left in tmp
Fix Security hardening: download file name not taken from the form; delete stays in the download folder
Fix Security hardening: delete overrides check core.delete before doing their work
Fix Database updates work on MySQL (no ADD COLUMN / ADD INDEX IF NOT EXISTS)
Fix Maxmind update removes its extraction folder also after a failure
Fix {subtemplate:} nesting limited to 5 levels
Fix Redirect to the current page after ordering (referer check was reversed)
Fix Remove the orphan media/js/import.min.js on update
Addition The Analytics & Reports tab in the Cpanel now has a Reports section next to the statistics graphs
Change Update chartjs from version 4.5.1 to version 4.6.1
Change File upload now restricts executable file types (php, phtml, phar, ...), if you need to distribute these files, add them to a zip archive.
Change Replaced stored download file names MD5 / uniqueid hash with Random hash
Change Configured "file from server" must set full real path and not .. or .shortcuts
Change Dashboard now warns when the download or invoice folder is reachable from the web (web servers ignoring .htaccess, e.g. nginx or IIS), to validate if you configured your server correct
Change Change: updated och-library.js
Change "Direct link" File downloads allow only public http(s) addresses and checks if redirects work
Change Editor fields set for Raw values now follow Joomla’s Text Filters: this will be my new default setting (for all extensions) as this gives you control over who can add what to these fields via Joomla global Text Filters setting. For Super Users nothing changes, when you need administrators to add HTML 'code' (like iframes) you need to allow them to do so in global config.
Change Discounts are never stacked. A fixed-amount coupon on the whole order now replaces a renewal or upgrade discount only where the coupon is higher, instead of being added to it. Percentage and per-product coupons already worked this way.
Change Final order check before payment. Just before an account is created, before the transaction is saved, and again on the payment page, the order is checked once more. If a product was unpublished or a coupon was revoked or expired since the checkout was opened, the customer goes back to the checkout to confirm the new total.
Change Change: update OchHelper
Change Change: Payment::claimForProcessing() - atomic claim of a paid payment (Mollie / Stripe)
Change Security hardening: Control Panel plugin tasks limited to ochSubscriptions plugins and plugin managers
Change Security hardening: refund and cancel-withdrawal need edit/create;
Change Security hardening: resetHits ids cast and bind to integers
Change Security hardening: coupon product ids cast and bind to integers
Change Require Joomla 5.4 or later
Change Security hardening: website downloads with a download key now also check the device
Change Security hardening: tag filter return URL must be internal URL
Change Security hardening: regenerateToken forced only for download_id and watchful_key
Change Payment return page reads order as alnum instead of raw and doesn't mail the admin
Change Security hardening: template page preview under a random name, read with its token
Change Device task errors logged instead of shown to customers; they now show a general message and log the details.
Change Security hardening: checkout quantity capped at the product's maximum
Change Security hardening: CSV export cells neutralised against formula injection, values starting with = + - @ (or tab / CR) now get a leading apostrophe.
Change Security hardening: dompdf remote resources only from the site's own host
Change Security hardening: customer and remote values escaped in back-end lists and fields
Change Security hardening: names and download log values escaped on the site
Change Security hardening: PayLater minimum amount checked in onDsiplay and also in onProcess
Change Renewal task restores the session ordercode it runs in
Change Security hardening: {customer:}, {user:} and {device:} values escaped in templates
Change Invoice download checks the owner before generating the PDF
Change Bound values instead of concatenated SQL in models
Change Key validation compares the token with hash_equals()
Change Template test mail to the logged in user doing the test
Change Security hardening: random token in new invoice PDF names on disk
Change Temporary file clean-up limited to ochSubscriptions' own download copies
Change Content plugin alias lookups with whereIn()
Change Updated helper files
Notes

This version will only install on Joomla 5.4+/6.0+ and PHP 8.1+

CVE Records:

Installation Notes

Joomla! 6 Joomla! 5 Joomla! 4 (EOL - Not supported) Joomla! 3 (EOL - Not supported) PHP 8.1+

See: Documentation