RubySec

Providing security resources for the Ruby community

CVE-2020-7656 (jquery-rails): Cross-Site Scripting in jquery

ADVISORIES

GEM

jquery-rails

SEVERITY

CVSS v3.x: 6.1 (Medium)

CVSS v2.0: 4.3 (Medium)

PATCHED VERSIONS

  • >= 2.1.4

DESCRIPTION

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.

RELATED