We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05cfbe commit fe2d6a6Copy full SHA for fe2d6a6
lib/web/jquery.js
@@ -12,6 +12,11 @@
12
* Date: 2016-05-20T17:17Z
13
*/
14
15
+/*
16
+ * includes patch for CVE-2019-11358
17
+ * prototype pollution vulnerability in jQuery before 3.4.0
18
+ */
19
+
20
(function( global, factory ) {
21
22
if ( typeof module === "object" && typeof module.exports === "object" ) {
@@ -209,8 +214,9 @@
209
214
src = target[ name ];
210
215
copy = options[ name ];
211
216
217
+ // Prevent Object.prototype pollution
212
218
// Prevent never-ending loop
213
- if ( target === copy ) {
219
+ if ( name === "__proto__" || target === copy ) {
220
continue;
221
}
222
0 commit comments