VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Meisseli on October 30, 2018, 14:48:28 PM

Title: F-Secure antivirus blocking VM 3.2.12 product sites by false positive
Post by: Meisseli on October 30, 2018, 14:48:28 PM
F-Secure antivirus/firewall software is causing false positive block and warning trojan warning JS/Trojan.Cryxos.1866.

We believe and tested this js code relating to default_images.php or default_images_additional.php when using VM 3.2.12 with fancy box setting tapped on VM config:

//<![CDATA[
Virtuemart.updateImageEventListeners = function() {
   jQuery(".additional-images img.product-image").click(function() {
      jQuery(".additional-images a.product-image").attr("rel","vm-additional-images" );
      jQuery(this).parent().children("a.product-image").removeAttr("rel");
      var src = jQuery(this).parent().children("a.product-image").attr("href");
      jQuery(".main-image img").attr("src",src);
      jQuery(".main-image img").attr("alt",this.alt );
      jQuery(".main-image a").attr("href",src );
      jQuery(".main-image a").attr("title",this.alt );
      jQuery(".main-image .vm-img-desc").html(this.alt);
      });
   } //]]>

Legacy layout setting is set on.

Is there anything to do?
Title: Re: F-Secure antivirus blocking VM 3.2.12 product sites by false positive
Post by: jjk on October 31, 2018, 09:22:35 AM
Send a report to F-Secure?