{"id":"CVE-2016-10546","aliases":["GHSA-cgqv-x5cx-xvqh"],"kind":"cve","tier":"cold","status":"published","title":"Arbitrary Code Injection in pouchdb","description":"An arbitrary code injection vector was found in PouchDB 6.0.4 and lesser via the map/reduce functions used in PouchDB temporary views and design documents. The code execution engine for this branch is not properly sandboxed and may be used to run arbitrary JavaScript as well as system commands.","ai_summary":null,"severity":"critical","cvss":{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-94"],"remote":true,"remote_unauth":true,"epss":{"score":0.02516,"percentile":0.85282,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"npm","name":"pouchdb","affected":"< 6.0.5","fixed":["6.0.5"],"source":"osv"}],"affected_products":[{"vendor":"HackerOne","product":"pouchdb node module","versions":"<=6.0.4","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade pouchdb to 6.0.5 or later.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10546","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-cgqv-x5cx-xvqh","kind":"vendor"},{"url":"https://nodesecurity.io/advisories/143","kind":"other"},{"url":"https://www.npmjs.com/advisories/143","kind":"other"}],"workarounds":null,"vendors":["hackerone","pouchdb"],"products":["pouchdb","pouchdb node module"],"cpes":["cpe:2.3:a:pouchdb:pouchdb:*:*:*:*:*:node.js:*:*"],"published_at":"2018-05-31T20:00:00.000Z","modified_at":"2026-06-17T00:39:54.773Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10546"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-cgqv-x5cx-xvqh","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-10546","markdown":"https://flawdb.com/CVE-2016-10546.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-10546"}}