CVE-2021-20085
JavaScript vulnerability analysis and mitigation

Overview

Backbone-query-parameters version 0.4.0 contains a prototype pollution vulnerability (CVE-2021-20085) that allows malicious users to inject properties into Object.prototype. The vulnerability was discovered and disclosed in December 2020 by Tenable Network Security, Inc. The affected component is the backbone-query-parameters JavaScript library (GitHub).

Technical details

The vulnerability exists in the _setParamValue function of backbone.queryparams.js where improper handling of query string parameters allows for prototype pollution. The vulnerability has a CVSS v3.1 Base Score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) (NVD).

Impact

Successful exploitation of this vulnerability allows attackers to inject properties into Object.prototype, which can lead to application-wide JavaScript object pollution. This could potentially result in security bypass, denial of service, or execution of arbitrary code depending on the application context (GitHub).

Exploitability

The vulnerability can be exploited by sending specially crafted query parameters to applications using the vulnerable backbone-query-parameters library. Example exploit paths include using ?proto.test=test or ?constructor.prototype.test=test in URLs (GitHub).

Mitigation and workarounds

Users should upgrade to a patched version of backbone-query-parameters if available, or implement input validation to prevent prototype pollution attacks. If upgrading is not possible, carefully validate and sanitize all query parameters before processing (NVD).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54155HIGH7.7
  • JavaScript logoJavaScript
  • node-opcua
NoNoAug 20, 2026
CVE-2026-54156HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 20, 2026
CVE-2026-55451MEDIUM6.9
  • JavaScript logoJavaScript
  • gettext-converter
NoYesAug 20, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesAug 20, 2026
GHSA-ghvf-qf6h-g8x5HIGHN/A
  • JavaScript logoJavaScript
  • @nocobase/server
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management