{"id":"CVE-2020-7771","aliases":["EUVD-2021-0768","GHSA-5pxj-mhwj-x5gv","SNYK-JS-ASCIITABLEJS-1039799"],"status":"published","title":"Prototype Pollution","description":"The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01963,"percentile":0.8051,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321","CWE-400"],"published":"2021-01-04T11:50:13Z","modified":"2026-10-20T10:54:24Z","fixes":[{"ecosystem":"npm","package":"asciitable.js","fixed_in":["1.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"asciitable.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"asciitable.js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.3"}]}]}],"products":[{"vendor":"asciitable.js_project","product":"asciitable.js"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ASCIITABLEJS-1039799","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/victornpb/asciitable.js/pull/1","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7771","tags":["advisory"]},{"url":"https://github.com/victornpb/asciitable.js/commit/8db8fc5ffa7a2a6e8596709d99b200afb53f40ab","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5pxj-mhwj-x5gv"},{"url":"https://github.com/victornpb/asciitable.js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-7771","title":"Prototype Pollution","description":"The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.","status":"published","published":"2021-01-04T11:50:13.186Z","modified":"2024-09-17T02:57:29.103Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-0768","description":"The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.","status":"published","published":"2021-01-04T11:50:13Z","modified":"2024-09-17T02:57:29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:28:35.984836Z"}],"ghsa":[{"id":"GHSA-5pxj-mhwj-x5gv","title":"Prototype Pollution in asciitable.js","description":"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```","status":"published","published":"2021-04-13T15:24:59Z","modified":"2023-09-20T05:03:21Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:06.234371Z"}],"nvd":[{"id":"CVE-2020-7771","description":"The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.","status":"published","published":"2021-01-04T12:15:12.657Z","modified":"2026-06-17T03:25:25.07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-7771","description":"The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.","status":"published","published":"2021-01-04T12:15:12.657Z","modified":"2026-10-20T10:54:24.580798984Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-5pxj-mhwj-x5gv","title":"Prototype Pollution in asciitable.js","description":"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```","status":"published","published":"2021-04-13T15:24:59Z","modified":"2026-09-10T03:49:26.676962324Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
