The vulnerability exists in the merge utility function within @feathersjs/commons. This function recursively merges properties from a source object into a target object. The vulnerability, a form of prototype pollution, occurs because the function does not properly sanitize the keys from the source object before merging. When a malicious source object, often created from JSON.parse, contains a __proto__ key, the merge function would recursively merge the provided properties onto Object.prototype. This pollutes the prototype of all standard JavaScript objects in the Node.js process. The patch, identified in commit 28b3c03c63bdbff53115fdaa46c56980e7942acc, remediates this by explicitly checking for and skipping the keys __proto__, constructor, and prototype during the merge operation, preventing the prototype pollution.