Patrowl Intel
Sign in
Skip to the CVEs

Filter by signal

11 jquery-rails CVEs, newest first

  1. 6.1 RemoteJquery Jquery, Jquery-Rails Jquery-RailsJun 26, 2023

    Duplicate Advisory: jQuery Cross Site Scripting vulnerability ## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of [GHSA-jpcq-cgw6-v4j6](https://github.com/advisories/GHSA-jpcq-cgw6-v4j6). This link is maintained to preserve external references. ## Original Description Cross Site Scripting vulnerability in jQuery v.2.2.0 until v.3.5.0 allows a remote attacker to execute arbitrary code via the `<options>` element.

    Affected: from the first version, < 4.4.0

  2. — 1 exploit EPSS 19 %Jquery Jquery, Jquery-Rails Jquery-RailsMay 14, 2022

    jQuery vulnerable to Cross-Site Scripting (XSS) Cross-site scripting (XSS) vulnerability in jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to inject arbitrary web script or HTML via a crafted tag.

    Affected: from the first version, < 1.0.16

  3. 6.1 3 exploits EPSS 8.6 % RemoteJquery Jquery, Jquery-Rails Jquery-RailsSep 1, 2020

    Cross-Site Scripting in jquery Affected versions of `jquery` are vulnerable to cross-site scripting. This occurs because the main `jquery` function uses a regular expression to differentiate between HTML and selectors, but does not properly anchor the regular expression. The result is that `jquery` may interpret HTML as selectors when given certain inputs, allowing for client side code execution. ## Proof of Concept ``` $("#log").html( $("element[attribute='<img src=\"x\" onerror=\"alert(1)\" />']").html() ); ``` ## Recommendation Update to version 1.9.0 or later.

    Affected: from the first version, < 2.2.0

  4. 6.1 1 exploit EPSS 6.6 % RemoteNetapp Snap Creator Framework, Juniper Junos +6May 20, 2020

    Cross-Site Scripting in jquery Versions of `jquery` prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove `<script>` HTML tags that contain a whitespace character, i.e: `</script >`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser. ## Recommendation Upgrade to version 1.9.0 or later.

    Affected: from the first version, < 2.2.0

  5. 6.9 KEV · due Feb 13, 2025 1 exploit EPSS 85 % RemoteNetapp H500S Firmware, Netapp Snap Creator Framework +60Apr 29, 2020

    Potential XSS vulnerability in jQuery ### 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](https://github.com/cure53/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](https://github.com/jquery/jquery/issues). If you don't find an answer, open a new issue.

    Affected: from the first version, < 4.4.0

  6. 6.9 2 exploits EPSS 99 % RemoteNetapp H410S Firmware, Oracle Financial Services Hedge Management And Ifrs Valuations +80Apr 29, 2020

    Potential XSS vulnerability in jQuery ### 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: ```js 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](https://github.com/jquery/jquery/issues). If you don't find an answer, open a new issue.

    Affected: from the first version, < 4.4.0

  7. 6.1 4 exploits EPSS 87 % RemoteOracle Financial Services Retail Customer Analytics, Oracle Financial Services Asset Liability Management +106Apr 26, 2019

    XSS in jQuery as used in Drupal, Backdrop CMS, and other products jQuery from 1.1.4 until 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles `jQuery.extend(true, {}, ...)` because of `Object.prototype` pollution. If an unsanitized source object contained an enumerable `__proto__` property, it could extend the native `Object.prototype`.

    Affected: from the first version, < 4.3.4

  8. — 1 exploitJquery Jquery, Jquery-Rails Jquery-RailsApr 23, 2019

    Duplicate Advisory: Prototype Pollution in jquery ## Duplicate Advisory This advisory is a duplicate of [GHSA-6c3j-c64m-qhgq](https://github.com/advisories/GHSA-6c3j-c64m-qhgq). This link is maintained to preserve external references. ## Original Description Versions of `jquery` prior to 3.4.0 are vulnerable to Prototype Pollution. The extend() method allows an attacker to modify the prototype for `Object` causing changes in properties that will exist on all objects. ## Recommendation Upgrade to version 3.4.0 or later.

    Affected: from the first version, < 3.4.0

  9. 7.5 1 exploit EPSS 3.3 % RemoteJquery Jquery, Jquery-Rails Jquery-RailsJan 22, 2018

    Denial of Service in jquery Affected versions of `jquery` use a lowercasing logic on attribute names. When given a boolean attribute with a name that contains uppercase characters, `jquery` enters into an infinite recursion loop, exceeding the call stack limit, and resulting in a denial of service condition. ## Recommendation Update to version 3.0.0 or later.

    Affected: ≥ 3.0.0-rc.1, < 3.0.0

  10. 6.1 3 exploits EPSS 30 % RemoteOracle Financial Services Hedge Management And Ifrs Valuations, Oracle Banking Platform +46Jan 22, 2018

    Cross-Site Scripting (XSS) in jquery Affected versions of `jquery` interpret `text/javascript` responses from cross-origin ajax requests, and automatically execute the contents in `jQuery.globalEval`, even when the ajax request doesn't contain the `dataType` option. ## Recommendation Update to version 3.0.0 or later.

    Affected: from the first version, < 4.2.0