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

Current release uses outdated JQuery #707

Closed
a-h opened this issue Mar 25, 2021 · 1 comment
Closed

Current release uses outdated JQuery #707

a-h opened this issue Mar 25, 2021 · 1 comment

Comments

@a-h
Copy link

a-h commented Mar 25, 2021

Lightbox2 version 2.11.3 uses JQuery 3.4.1 which has two XSS vulnerabilities:

https://snyk.io/test/npm/jquery/3.4.1

This means that the https://github.com/lokesh/lightbox2/blob/dev/dist/js/lightbox-plus-jquery.min.js file contains the outdated library.

As a workaround, I downloaded the solution and used bower to pull in the latest JQuery, and hosted it myself instead of using the CDN.

No code changes are required, just putting out a new build that uses JQuery 3.6.0 would sort it.

@lokesh
Copy link
Owner

lokesh commented Feb 21, 2023

Resolved in v2.11.4: https://github.com/lokesh/lightbox2/releases/tag/v2.11.4

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

No branches or pull requests

2 participants