Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jQuery version #71

Open
andreesg opened this issue Mar 18, 2020 · 3 comments
Open

Update jQuery version #71

andreesg opened this issue Mar 18, 2020 · 3 comments

Comments

@andreesg
Copy link

Problem:
While using Google's tools, PageSpeed and web.dev, to improve speed I've come across a problem with the jQuery version being used in the latest Plone 5.2 with Python 3.

This is the problem reported by Lighthouse when using https://web.dev/measure/:

Includes front-end JavaScript libraries with known security vulnerabilities

The current jQuery version used in Plone 5.2 is 1.12.4. This versions is reported to have two vulnerabilities: https://snyk.io/vuln/npm:jquery?lh=1.12.4&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit

How can it be fixed?
Without your help I do not have enough knowledge to understand the consequences of updating this version.

Is it possible to update the jQuery version and solve the vulnerabilities?

@thet
Copy link
Member

thet commented Aug 17, 2020

The biggest blocker currently are the very outdated drag/drop library files in mockup: https://github.com/plone/mockup/tree/master/mockup/lib
If we can remove the dependency on those and use something modern instead we probably can just update jQuery to the most recent version.

@nzambello
Copy link
Member

Hi everyone, I'm interested in this topic so I'll watch out for news about it.
Thank you @thet for fixing this.

@giuliaghisini
Copy link

Hi everyone, i'm interessted too in this topic and news about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants