VirtueMart Project
VirtueMart Project
  • VirtueMart
    • Extensions
    • Documentation
    • Forum
    • Developer
  • News
    • Latest VirtueMart News
    • List all VirtueMart News
    • Blog
  • Features
    • Features
    • What is VirtueMart?
    • Demo
      • DEMO (shopper)
      • DEMO (admin)
  • Community
    • How to start
    • Support the Project
    • Forum
    • Translations
  • Partners
    • Certification
    • Platinum Partner
    • Gold Partner
    • Silver Partner
    • Bronze Partner
  • Download
  • VirtueMart Showcase
  • Extensions
  1. You are here:  
  2. Home
  3. News
  4. Latest VirtueMart News

98 playwright tests later. VirtueMart 4.8.8 released. Again with enhanced security

Details
Written by: Max Milbers
Category: Latest News
Published: 19 November 2026
Hits: 48

While adding more and more Playwright tests for VirtueMart 5, I had the idea to port them also to VirtueMart 4. So this version got tested with 98 tests: 98 tests on Joomla 3 and 98 tests on Joomla 5. Of course these tests cannot check every detail, and also not every option. These tests are mainly for the 2–3 typical ways to configure VM. But for example most SEO configurations and use cases are tested. Also full pagination tests and sorting.

Furthermore findings in VirtueMart 5 due to the type hints were often also suitable for VM4, so a lot of smaller fixes and feature requests got backported. For example the new vmDefines uses the same new lazy-loading technique for class aliases. Normal class aliases directly load the class, not the lazyload list technique. This saves up to 2 MB and more. It also ensures enhanced compatibility for extensions which got adjusted to Joomla 6. This is important for developers. It is also more likely that smaller plugins just run on VM5 without any fixes. I also backported the new knowledge to the table updater.

24 of the 98 tests were for PayPal Checkout. It is also completely updated with enhanced features and some fixes.

DOWNLOAD VirtueMart 4.8.8
NOW

VirtueMart 5 is on its way. There is a new release candidate for testing. I will write an own news for it. This is a release candidate, that means it is for testing, not for live shops

Test VirtueMart 5

We have again some minor security fixes.

(the rest, written by Grok and reviewed by Max Milbers)

Security fixes

  • Stored configuration and plugin parameters. An old unserialize on values VirtueMart had stored itself could build PHP objects. The shop writes those values, so this was not exploitable here. The read is closed anyway and no longer creates objects.
  • Backend log. Downloading or deleting a log file requires the administrator form token.
  • Media files. A stored path that is a directory is not opened as a file. The thumbnail is written next to the stored file. An uppercase extension still matches on Linux. A directory is also not treated as an existing image file when the sized copies are listed.
  • PayPal (classic). The IPN is verified on ipnpb.paypal.com, and on ipnpb.sandbox.paypal.com for the sandbox. The old list of PayPal server IPs is gone. This is the classic PayPal plugin, not PayPal Checkout.
  • Add to cart and checkout tokens. A full-page cache can no longer freeze an old token into the button. Javascript writes the current token. The add-to-cart check stays on.

New features

  • AVIF. Product images can be uploaded as AVIF, and VirtueMart creates the thumbnail. WebP, AVIF and SVG get a stored mime type when the media row has none.
  • Tokens for cached pages. The configuration "Add missing token to checkout and add to product to cart" covers the add-to-cart button as well as the checkout. Enable it when product modules are cached.

Interesting for shopowners

  • Checkout confirm. The confirm hash includes the bill-to address again, and the ship-to address when it differs. Changing the address, the currency, the coupon, the shipment or the payment invalidates the approved cart. Confirm sends that cart to the order-done page as a normal request. Ajax checkout stays available for the other steps.
  • Guest registration. The guest customer number stays stable and is copied onto the cart after registration. The guest cart token is refreshed at the same time, so the next step is not rejected.
  • Account form. A logged-in shopper sees Save on the legacy account layout.
  • Coupons. A coupon already stored in the cart is checked again without the "coupon accepted" message. A coupon that no longer fits the cart is dropped.
  • Child products. Collecting child ids compares the child id. The old test overwrote it, so children were missed.
  • Order edit. "Apply no rule" on an order line no longer fatals. The tax rule of a new line is stored on that line. The tax dropdown is initialised when the line is added. The status list checks the right row and sets Notify on the checkbox.
  • Addresses. The address of a logged-in shopper is not treated as a guest prefill.
  • Phone, mobile and fax. A leading plus, a slash and a hyphen are kept. A trunk prefix (0) is removed first.
  • Weight. The cart weight stays on the cart when the products are loaded. An empty weight unit or dimension unit returns the amount unchanged.
  • Child links in the Bootstrap 5 layout. A child-variant URL no longer gains a trailing zero when the page has no menu item. That zero sent the shopper to the category.
  • Product menu and pagination. A product menu item is applied before Joomla reads the Itemid. A menu item with no extra segments opens on the first page.
  • Product name. The product edit shows the name from the fallback language when the current language has none.
  • Updates. An extension that the all-in-one installer updates is marked installed.
  • Uploads. A file that collides with an existing name is stored under a short new name, and that name is reported.
  • All-in-one installer. Sofort is no longer installed. The Moneybookers-to-Skrill migrator is removed.
  • Multi-image upload. The scripts load before the page is ready, so the second image does not wait on a ready handler that already ran.
  • Admin menu after an update. A Joomla menu row whose level is 0 is rebuilt before the VirtueMart admin menu is written.
  • Account activation. A shopper who must activate the new account is not logged in at registration. The customer number stays on the cart, and the order is stored for that account, so the activation mail can still do its job.
  • Terms of service. The article comes from the userfield default, an article id or an alias. The checkbox is no longer ticked only because that default is set. A second terms field follows the same rule.
  • Category products. A product that did not load is left out of the category. Content plugins are not run on a value that is not a product.
  • Product images. The images stay in the order that was posted. A new upload is added at the end. The separate ordering list is not applied on save.
  • Browse fields. Clearing every browse sort field, or every browse search field, stores an empty list. The previous list is not kept when the form omits it.
  • Cart layout. In the Bootstrap 5 cart, shipment, payment, and the totals sit in the purchase column. The PayPal login button is not shown inside the cart login box.
  • Related products. On the vmadmin product edit, an extra related-product field keeps its stored type. Its search box works after the field is added.
  • PayPal Checkout. Card fields are shown when the card method is selected, and PayPal is asked for strong customer authentication on every card payment. The check reads the authentication status. Confirm without card data stays on the cart. If PayPal sends no order id, the shop shows a message. Pay upon invoice requires the dial code, the phone number, and the date of birth. Sofort and giropay are no longer funding sources. The method warns when a price breakdown is on and prices are rounded only for display. Card fields and Ratepay fields are shown only for the selected method. An open capture can be retried from the order, and the shop can retry open captures on a schedule.

Interesting for developers

  • _JEXEC replaces JPATH_PLATFORM in the custom fields, the toolbar and the horme_3 pagination layout.
  • Category dropdown. The script can load outside the administrator.
  • Key file. A newly created key file records the encryption method.
  • Cart hash. getCartHash is built from named parts (products, addresses, currency, coupon, shipment, payment, customer number, vendor). The cart module can hash without prices. viewJSCheckout returns the cart after checkoutData(false).
  • Table update. SHOW COLUMNS is compared with install.sql, so an implicit NULL matches DEFAULT NULL. An old default is dropped before a DEFAULT NULL change. Existing NULLs are filled before a column becomes NOT NULL. TEXT and BLOB are retried without DEFAULT NULL. The update stops when alterKey runs out of time.
  • Browse layout. The category layout owns the browser-state switch. The form sentinel overrides it.
  • Add-to-cart bar. The layout calls shopFunctionsF::renderVmSubLayout. The old self:: call only worked because the file was included.
  • Legacy category heading uses the class vm-category-title. The classic look does not change. The class is the same hook the Bootstrap 5 layout already had.
  • Template id. A home template without an id is stored as 0.
  • Debug mail. The captured mail body is shown as text.
  • Add-to-cart token. checkTokenATC stays enabled. Turn it off only when a cache injects the token itself.
  • Empty integer. getInt returns an empty string when the request value is empty. It does not return 0, so a layout that concatenates the value no longer adds a trailing zero to the product id.
  • State field. getStateFieldByID returns one field of a state, in the same way as getCountryFieldByID.
  • Cross-reference. A posted key of 0, or an empty posted key, is stored. It is no longer dropped.
  • Plugin updater. The update loader imports JPlugin, JFactory, JInstaller, and JRoute from Joomla\CMS. It runs before the old class names are registered. Joomla 3.10 still maps those old names.
  • Registration debug mail. When debug mail is on, the printed registration mail fills its {NAME} tags before the text is shown.

Just fixes / enhancements

  • Backend redirect after a save, the return address after a failed token, the media AJAX token, and the add-to-cart token markup.
  • Category recursion receives the arguments it expects.
  • Custom-field layout in the backend, and media asset paths.
  • The vmadmin layout uses the class uk-grid. The UIKit grid attribute is gone. The old implementation could lead to a memory leak.
  • The category search-field list in the configuration no longer starts with a forced "none" entry.

Small update for VirtueMart 4.8

Details
Written by: Max Milbers
Category: Latest News
Published: 31 August 2026
Hits: 2431

So it turned out that a fixed token for add to cart makes trouble with cached product modules. Actually a token check for "add a product to a cart" has no scenario to be exploited, but I just wanted to fullfill the JED requirements. It cant hurt, right? But it can. If a product module is cached with a token for one session, it cant work for any other session. Therefore I alread added a js script, which adds a token dynamically. But this script did not work on any template, so I did two things. The selector of the script is longer and should get any vm form and second, the add to cart js script itself adds the token. There is no harm doing that, because the token is in the Virtuemart js object, which is used by the script. It could be also plain in the form and the script could use it. 

The second little fix is the params of the function onstoreplugintable. I accidently extended the param list, not in the plugin, but in the parent, which creates problems with some plugins. So to prevent problems with some plugins, I just reverted it back, it was anyway not intended.

and last but not least, I enhanced the display of the custom form fields. It looks a lot cleaner now.

DOWNLOAD VirtueMart 4.8.2
NOW

Security Release VirtueMart 4.8.0

Details
Written by: Max Milbers
Category: Latest News
Published: 17 August 2026
Hits: 2272

Caming back from holidays, our project VirtueMart was unpublished on JED. There was a security audit by a Joomla member with claude and we did not pass. Some of them were already addressed in VirtueMart5, which is almost ready. Some even in not delivered plugins, which we kept in the trunk. So I removed all the old plugins and the vmf folder and moved it to a branch. 

Security Fixes

  • Skrill payment plugin: There is a security issue with the Skrill payment plugin. If you use it in your store, please either update to this version or remove the plugin entirely.

Token validation

  • Token checks added to backend controllers and frontend forms. Unauthorized form submissions are now rejected.

Rating System Improvements

  • Shop owners can now edit customer names and review messages in the backend (voting results remain protected against modification)
  • Added various validation for example for the generic child selection dropdown when editing ratings
  • Better handling of limit start and empty checks in rating models
  • Miscellaneous bug fixes for rating list view styling

Plugin Download simple

  • Fixed improper check for correct requested media

Enhanced validation for media uploads

First we allow the unsecure files like php in zips now only for files to sale. Furthermore the mime check was before only done for medias and is now done for any file.

RECOMMENDED FOR ALL USERS: Please update to this version, in special if you are using the Skrill payment plugin or manage ratings/reviews for products.

DOWNLOAD VirtueMart 4.8.0
NOW

Payment Plugin Cleanup

We have removed the following legacy payment plugins that are no longer maintained or productively used:

Read more: Security Release VirtueMart 4.8.0

Small Fixes for VirtueMart 4 and new Beta for VirtueMart 5

Details
Written by: Max Milbers
Category: Latest News
Published: 14 April 2026
Hits: 2511
There are two new features

A customer was not happy to see is review with is clear name. I noticed, there was no way to edit it. I remembered, we did it that way long, long ago, just to reduce Fakereviews by shopowners. It sounds nice, virtuemart cant be misused, but in fact it was stupid. I doubt any person has a greater trust in a review, just because the shop runs on VirtuMart. So I reconsidered. The new review system should work so, that any customer can post with the given name, and the own name is just suggested. Shopowners can change now also the name and the message in the backend, but not the voting (may come later). So it is simpler to add a note or to change the name if a customer requested that.
The second feature is a replacement of the "chosen dropdown js" against the "choices dropdown js". The difference is that "chosen" is outdated and that "choices" works native, without jQuery. Choices is also the "right choice" for joomla 6. But you can relax, ... in vm 4 it is just activated for the backend. You can use the old config setting to disable it completly, or enable it also in the frontend. So we came to the next topic, this feature was implemented for VirtueMart 5.

DOWNLOAD VirtueMart 4.6.8
NOW (needs Membership)

VirtueMart 5 is already running on Joomla 6. It has also some extra performance features added already.

The current idea is to remove the need of jQuery and to replace the core jQuery stuff by native javascript. It is also planned to use more static functions, which may break some extensions. Just one example, why that makes a lot sense. Images are displayed with the mediahandler. It makes not really sense to write for any image the function displayFileHandler into the RAM. So most of these functions are static now, which means they are written only one time into the RAM. So for templaters, nothing changes, these functions are of course still dynamic. But it can happen, that complexer extensions for example use the function "displayFileHandler" to display the media edit. But in anycase it is very simple to update outdated code. 

TEST VirtueMart 4.9.3
NOW

Read more: Small Fixes for VirtueMart 4 and new Beta for VirtueMart 5

Enhanced compatibility for coupons and some templates, Opc and some minor fixes

Details
Written by: Max Milbers
Category: Latest News
Published: 15 December 2025
Hits: 3265

Just some minor fixes. All this fixes are already ported to VirtueMart 5.But check your coupons, some shops had problems with the last token integration, this new version should fix this. All other enhancements are safe.

Interesting for shopadmins

  • Fixed couponhandling. Moved the token check before the function setCouponCode
  • added jpeg to multiple image uploads
  • product model, small fix for correct search of products in a subcategory of a selected category
  • added a hidden config for product slug handler. Can be set to "changed", which changes the slug if productname got changed, or "always"
  • Enhanced 404 handling, parts of the router used a fallback, which was wrong
  • Userfields in cart add captcha only, if it is allowed to register without product in cart
  • PayPal checkout, order approved should not sent an email anylonger
  • PayPal checkout configuration, removed invalid order stati in order dropdowns

Interesting for developers

  • plgVmInitialise was just for the FE, added trigger plgVmInitialiseBE for the BE
  • calculatorH enhanced the old rules cache. New calculator is now created without using delivery country or state. The new cache handles per vendorid, delivery country and states. All in a new static function loadAllRulesCached
  • manufacturer model added triggers plgVmBeforeStoreManufacturer and plgVmAfterStoreManufacturer
  • user cache works now for id 0 too
  • vmtable self::$loadedX => $this->_loadedX
  • Field vmorderstate added option to exclude stati
  • added to vmTables the possibility to add a where (and not using the primary key)

DOWNLOAD VirtueMart 4.6.6
NOW (needs Membership)

Just Fixes

  • Category model, fixed missing parents in case loaded by cache, but loaded by router without parents
  • Little fiix by stAn of RuposTel for authorizenet plugin.
  • Small fix in custom view to prevent error if there is no custom
  • Some minors, removed setRouterVars after loadConfig in the module
  • little fix for the getChildCategoryListObject to prevent str_replace with null
  • catched 500: count(): Argument #1 ($value) must be of type Countable in reviews, if no review given
  • cart helper, function add fixed the quantity array if it does not fit the given product id array

Optimisations

  • changed currencydisplay to reuse already loaded vendor currency
  • currency model, found uncached query and replaced against default getVendor function (likely cached or reused)
  • shoppergroup model, the function getShoppergroup and getDefault share their result in the cache now, which spares 2 sql calls
  • cart helper, $this->setCartIntoSession, removed the second param true, because actually we need it only one time at begin to prevent that a checkout is fired more than one time (spares 4-6 sql calles)
  1. New OPC needed some fixes, auto token system
  2. We put on the helmet! Important Security release 4.6.0
  3. Important Security and Bugfix release 4.4.10
  4. Security and Bugfix release 4.4.8 - Discord Server

Page 1 of 25

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

Forum

  • General
  • Administration
  • Templating

Subscribe to our News


Delivered by FeedBurner
Virtuemart Newsfeed Counter

Follow the VirtueMart Team on Twitter

Follow

logo

VirtueMart ® der iStraxx GmbH

  • Terms of use
  • Privacy Policy
  • Login
  • Contact
  • Imprint
VirtueMart Project
  • VirtueMart
    • Extensions
    • Documentation
    • Forum
    • Developer
  • News
    • Latest VirtueMart News
    • List all VirtueMart News
    • Blog
  • Features
    • Features
    • What is VirtueMart?
    • Demo
      • DEMO (shopper)
      • DEMO (admin)
  • Community
    • How to start
    • Support the Project
    • Forum
    • Translations
  • Partners
    • Certification
    • Platinum Partner
    • Gold Partner
    • Silver Partner
    • Bronze Partner
  • Download
  • VirtueMart Showcase
  • Extensions
This website uses cookies to ensure you get the best experience on our website.