जमा करें #855677: Node.js @tanstack/db 0.6.8 Prototype Pollutionजानकारी

शीर्षकNode.js @tanstack/db 0.6.8 Prototype Pollution
विवरण`@tanstack/db` is vulnerable to prototype pollution through public query APIs. The root package entry exports `queryOnce`, `createCollection`, and `localOnlyCollectionOptions`. A caller can pass an alias containing prototype-pollution path segments to `select()`, such as `__proto__.tanstackPolluted`. During query compilation, `src/query/compiler/select.ts` processes select aliases as dot-separated nested paths. The alias is split with `alias.split('.')`, and each segment is used to build nested objects in the query result. Dangerous segments such as `__proto__`, `constructor`, and `prototype` are not filtered. When the first segment is `__proto__`, the write cursor can resolve to `Object.prototype`, causing the next assignment to pollute the global object prototype.
स्रोत⚠️ https://github.com/TanStack/db/issues/1584
उपयोगकर्ता
 Dremig (UID 95003)
सबमिशन11/06/2026 05:12 AM (1 महीना पहले)
संयम13/07/2026 05:40 PM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि378115 [tanstack db तक 0.6.8 Alias Path select.ts select]
अंक20

Might our Artificial Intelligence support you?

Check our Alexa App!