| Title | Node.js @antv/layout 2.0.0 Prototype Pollution |
|---|
| Description | `@antv/[email protected]` exposes `setNestedValue` from its root export. The function accepts an externally supplied dot-separated path and forwards the parsed path to a deep-set helper without blocking prototype-pollution primitives. An attacker who can control the path argument can use values such as `__proto__.polluted` or `constructor.prototype.polluted` to write properties onto `Object.prototype`. This causes the injected property to appear on newly created plain objects and may affect application logic that relies on inherited properties. |
|---|
| Source | ⚠️ https://github.com/antvis/layout/issues/292 |
|---|
| User | Dremig (UID 95003) |
|---|
| Submission | 06/11/2026 04:28 (1 month ago) |
|---|
| Moderation | 07/13/2026 16:08 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 378113 [antv layout 2.0.0 lib/util/object.js setNestedValue path prototype pollution] |
|---|
| Points | 20 |
|---|