Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Apr 30, 2020


🚨 Your version of jquery has known security vulnerabilities 🚨

Advisory: CVE-2020-11023
Disclosed: April 29, 2020
URL: https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6

Potential XSS vulnerability in jQuery

Impact

Passing HTML containing <option> elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.

Patches

This problem is patched in jQuery 3.5.0.

Workarounds

To workaround this issue without upgrading, use DOMPurify with its SAFE_FOR_JQUERY option to sanitize the HTML string before passing it to a jQuery method.

References

https://jquery.com/upgrade-guide/3.5/

For more information

If you have any questions or comments about this advisory:


🚨 We recommend to merge and deploy this update as soon as possible! 🚨

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ jquery (3.4.1 → 3.5.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added dependencies Pull requests that update a dependency file depfu labels Apr 30, 2020
@depfu depfu bot assigned jwalst Apr 30, 2020
@depfu depfu bot requested a review from jwalst April 30, 2020 00:09
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 4c54d7b and detected 0 issues on this pull request.

View more on Code Climate.

@depfu
Copy link
Contributor Author

depfu bot commented Jul 7, 2023

Closed in favor of #17.

@depfu depfu bot closed this Jul 7, 2023
@depfu depfu bot deleted the depfu/update/yarn/jquery-3.5.0 branch July 7, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file depfu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants