Chrome audit throws up an issue with jquery

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 1:06 pm

On my web site (www.pennine2020.penninescouts.org.uk) when I run an audit in Chrome, one of the errors it throws up is

Code: Select all

Some third-party scripts may contain known security vulnerabilities that are easily identified and exploited by attackers. Learn more.
Library Version           Vulnerability Count     Highest Severity 
jQuery@1.12.4	                1                       Medium
Is there a later version of jquery (the latest is 3.4.1) that I could use? If so, how do I go about using it?

thanks

Alan

User avatar
Pablo
 
Posts: 17677
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Chrome audit throws up an issue with jquery

Post by Pablo » Fri May 10, 2019 1:52 pm

This is most likely a false positive.
The script has been included for many years without any issues.
But you can set the jQuery version in the Page Properties.

alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Re: Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 4:39 pm

Thank you

Alan

alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Re: Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 6:02 pm

When I set the jquery to 3.3.1 in the page header and publish it, chrome then gives me an error saying that it can't find the file jquery3.3.1.min.js

Where do I find that?

Thanks

Alan

User avatar
Pablo
 
Posts: 17677
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Chrome audit throws up an issue with jquery

Post by Pablo » Fri May 10, 2019 6:06 pm

The file will be automatically generated by WWB.

alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Re: Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 6:09 pm

Humm - I only changed one page - do I need to change all of them?

Alan

alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Re: Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 6:23 pm

I can answer my own query - you need to 'publish all files' not just modified ones - even if you only change the jquery version in pne page.

Pablo, is this a bug or expected behaviour? I would have expected that any page which has a different jquery would get the .js file published.

CHeers

Alan

User avatar
Pablo
 
Posts: 17677
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Chrome audit throws up an issue with jquery

Post by Pablo » Fri May 10, 2019 6:27 pm

This is expected behavior, not a bug. The page does not keep track of which files have been published.
"Publish modified only " only keeps track of HTML changes.

alan_sh
 
 
Posts: 472
Joined: Tue Jan 01, 2019 5:50 pm

Re: Chrome audit throws up an issue with jquery

Post by alan_sh » Fri May 10, 2019 6:37 pm

Thank you.

Alan

Post Reply