- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 998
I hope you updated already to the vm4.8.8, which was already a security release. RCE due a fallback, which can be misused if the server has the "right" programs installed. This time, it is not problem, that someone enters your backend, but can fake a paid order. The good news in both cases, the hotfix works for VirtueMart 4.0 and above and the changes should not interfere to any extension. So if your store runs already vm4.8.x just use the complete update package.
If you are unsure, or your real admin is not available, then just use the hotfix.
HOT Fix 4.8.10 if your VM version is at least vm4.6
HOT Fix 4.8.10 if your VM version is lower than vm4.6
This security problem got some attention, you may read more about it here https://mysites.guru/blog/virtuemart-4-8-10-security-release/
He points out, that it is very easy to update an older VirtueMart 3 to VirtueMart 4. Even the update to VirtueMart 5 will be surprisingly easy. So I suggest just todo a backup and try to update to the last version. There were a lot security fixes the last 6 months and no compatibility issues known.
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 977
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.
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
We have again some minor security fixes.
Read more: 98 playwright tests later. VirtueMart 4.8.8 released. Again with enhanced security
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 2651
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.
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 2528
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.
Payment Plugin Cleanup
We have removed the following legacy payment plugins that are no longer maintained or productively used:
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 2703
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.
Read more: Small Fixes for VirtueMart 4 and new Beta for VirtueMart 5