SQL Injection Affecting pouchdb package, versions <1.1.0



    Attack Complexity Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID npm:pouchdb:20131221
  • published 13 Mar 2017
  • disclosed 20 Dec 2013
  • credit Nolan Lawson

Introduced: 20 Dec 2013

CVE NOT AVAILABLE CWE-89 Open this link in a new tab

How to fix?

Upgrade pouchdb to version 1.1.0 or higher.


pouchdb is PouchDB is a pocket-sized database. Affected versions of the package are vulnerable to SQL Injection due to not properly escaping the startkey/endkey in the allDocs() function. You can read more about SQL Injection on our blog.