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

chore(deps): update dependency jquery to v3.5.0 [security] #38

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 30, 2020

This PR contains the following updates:

Package Type Update Change
jquery (source) peerDependencies minor 3.4.1 -> 3.5.0
jquery (source) devDependencies minor 3.4.1 -> 3.5.0

GitHub Vulnerability Alerts

CVE-2020-11023

Impact

Passing HTML containing <option> elements from untrusted sources - even after sanitizing them - 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://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

For more information

If you have any questions or comments about this advisory, search for a relevant issue in the jQuery repo. If you don't find an answer, open a new issue.

CVE-2020-11022

Impact

Passing HTML 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 the issue without upgrading, adding the following to your code:

jQuery.htmlPrefilter = function( html ) {
	return html;
};

You need to use at least jQuery 1.12/2.2 or newer to be able to apply this workaround.

References

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
https://jquery.com/upgrade-guide/3.5/

For more information

If you have any questions or comments about this advisory, search for a relevant issue in the jQuery repo. If you don't find an answer, open a new issue.


Release Notes

jquery/jquery

v3.5.0

Compare Source

See the blog post:
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
and the upgrade guide:
https://jquery.com/upgrade-guide/3.5/

NOTE: Despite being a minor release, this update includes a breaking change that we had to make to fix a security issue ( CVE-2020-11022). Please follow the blog post & the upgrade guide for more details.


Renovate configuration

📅 Schedule: "" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch from 1a8be96 to 15ce2da Compare May 4, 2020 22:52
@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch from 15ce2da to 0d795e5 Compare May 13, 2020 04:24
@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch from 0d795e5 to e8ad798 Compare May 23, 2020 10:21
@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch 3 times, most recently from 92ef8c6 to 8d0319c Compare June 3, 2020 22:46
@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch 2 times, most recently from dc6b45c to e07b8de Compare June 10, 2020 03:53
@renovate renovate bot force-pushed the renovate/npm-jquery-vulnerability branch from e07b8de to aa88eb3 Compare June 13, 2020 13:28
@renovate renovate bot deleted the renovate/npm-jquery-vulnerability branch June 14, 2020 20:09
Copy link
Author

renovate bot commented Dec 8, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^3.3.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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

Successfully merging this pull request may close these issues.

2 participants