Loading...
Skip to main content

CVE-2019-11358 — XSS in jquery-rails — CVE Details

MEDIUM

XSS in jQuery as used in Drupal, Backdrop CMS, and other products

Published April 26, 2019Updated July 8, 2026Source: osv

Summary

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`.

Advisory Timeline

  • First published April 26, 2019 (2726 days ago).
  • Last revised July 8, 2026 — 2630 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update jquery-rails to 4.3.4 or later
gem install jquery-rails -v 4.3.4
Maven
Update org.webjars.npm:jquery to 3.4.0 or later
<!-- Update pom.xml dependency version to 3.4.0 for org.webjars.npm:jquery -->
NuGet
Update jQuery to 3.4.0 or later
dotnet add package jQuery --version 3.4.0
pip
Update django to 2.1.9 or later
pip install "django>=2.1.9"
Composer
Update maximebf/debugbar to 1.19.0 or later
composer require "maximebf/debugbar:^1.19.0"
pip
Update django to 2.2.2 or later
pip install "django>=2.2.2"
npm
Update jquery to 3.4.0 or later
npm install jquery@3.4.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (7)

Affects 6 ecosystems: maven (1), npm (1), nuget (1), packagist (1), pypi (1), rubygems (1).

PackageEcosystemAffectedFixed In
jquery-rails
rubygems
0.1.1, 0.1.2, 0.1.3, 0.2 (+68 more)4.3.4
org.webjars.npm:jquery
maven
1.11.0, 1.11.1, 1.11.3, 1.12.1 (+29 more)3.4.0
jQuery
nuget
1.10.0, 1.10.0.1, 1.10.1, 1.10.2 (+52 more)3.4.0
django
pypi
2.0, 2.0.1, 2.0.10, 2.0.12 (+23 more)2.1.9
maximebf/debugbar
packagist
1.0, 1.0.1, 1.0.2, 1.0.3 (+56 more)1.19.0
django
pypi
2.2, 2.2.1, 2.2a1, 2.2b1 (+1 more)2.2.2
jquery
npm
All versions3.4.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE
  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References

Frequently Asked Questions

What is CVE-2019-11358?
XSS in jQuery as used in Drupal, Backdrop CMS, and other products This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
How do I check if my project is affected by CVE-2019-11358?
CVE-2019-11358 affects jquery-rails, org.webjars.npm:jquery and jQuery (and 3 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-11358 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.1

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-6c3j-c64m-qhgq
DRUPAL-CORE-2019-006
PYSEC-2026-628
SNYK-JS-JQUERY-174006

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies