Aplicaciones web · CWE-1321
Modificación de atributos no permitidos y contaminación de prototipos
La aplicación copia campos enviados por el usuario a un objeto sin filtrar cuáles, y el atacante modifica propiedades que no debía (su rol, su saldo) o, en JavaScript, el prototipo de todos los objetos.
875 vulnerabilidades publicadas de este tipo, 1 de ellas explotadas activamente según CISA.
Cómo funciona
En la asignación masiva, el atacante agrega al formulario un campo como «es_admin=true» y el programa lo guarda. En JavaScript, un campo llamado __proto__ o constructor.prototype al fusionar objetos cambia el comportamiento de todo el programa, lo que puede terminar en saltarse controles o ejecutar código.
Dónde aparece
API y aplicaciones en Node.js, frameworks con asignación automática de modelos (Rails, Laravel, Spring), bibliotecas de fusión de objetos.
Cómo se corrige
- Aceptar solo una lista explícita de campos en cada operación (DTO o esquema de validación).
- En JavaScript, rechazar las claves __proto__, constructor y prototype, usar Object.create(null) o Map, y actualizar las bibliotecas de fusión.
Qué evitar
- Pasar el cuerpo completo de la petición directamente al modelo o a la base de datos.
Explotadas de este tipo
Publicadas recientemente
- CVE-2026-132166Sin calificarPrioridad bajaEPSS 0,39 %26 de nov de 2026
Contaminación de prototipos en Drupal core
Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal core allows Object Injection. This issue affects Drupal core versions: from 0.0.0 to 10.6.22, from 11.0.0 to 11.3.22, from 11.4.0 to 11.4.13.
- CVE-2026-137089Alta7.3Prioridad altaEPSS 0,70 %25 de nov de 2026
Contaminación de prototipos en merge-deep-composed
merge-deep-composed through 0.1.4 contains a prototype pollution vulnerability in _mergeDeepOne() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass JSON-parsed input containing __proto__ as a merge source to inject inherited properties, causing logic bypass or denial of service in Node.js processes.
- CVE-2026-137088Alta7.3Prioridad altaEPSS 0,86 %25 de nov de 2026
Contaminación de prototipos en @oleksii-pavlov/deep-merge
@oleksii-pavlov/deep-merge before 1.2.4 contains a prototype pollution vulnerability in deepMergeTwoAssignable() that allows remote attackers to modify Object.prototype by supplying a __proto__ key. Attackers can pass JSON-parsed input to deepMerge(), deepMergeAndAssign(), deepUpdate() or deepUpdateAndAssign() to inject inherited properties, causing logic bypass or denial of service.
- CVE-2026-137087Alta7.3Prioridad altaEPSS 0,70 %25 de nov de 2026
Contaminación de prototipos en @irrelon/path
@irrelon/path 6.2.2 before 7.0.3 contains a prototype pollution vulnerability in merge() and mergeImmutable() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass untrusted JSON containing __proto__ or constructor.prototype payloads to merged objects, causing property injection, authorization bypass, or denial of service.
- CVE-2026-136727Media6.3Prioridad mediaEPSS 0,47 %25 de nov de 2026
Inyección de código en django-vue-admin
A security flaw has been discovered in caoqianming django-vue-admin up to 849f9aafa552380c64eecc6059e357f6a1f5437a. This affects the function UserModifySerializer of the file server/apps/system/serializers.py. The manipulation results in dynamically-determined object attributes. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks. The patch is identified as d0bc4cf6232798d1f977eb4cad03738a968c4869. It is advisable to implement a patch to correct this issue.
- CVE-2026-136725Media6.3Prioridad mediaEPSS 0,54 %25 de nov de 2026
Inyección de código en owl-admin
A vulnerability was identified in slowlyo owl-admin up to 4.7.7. Affected by this issue is the function fillModelFromData of the file src/Services/AdminService.php. The manipulation of the argument id/remember_token/enabled leads to dynamically-determined object attributes. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. Upgrading to version 4.7.8 can resolve this issue. The identifier of the patch is 9b0c98dc3e2710b2ba8d7579da89ec6a4042fcc8. It is advisable to upgrade the affected component.
- CVE-2026-135227Alta8.2Prioridad altaEPSS 0,60 %25 de nov de 2026
Contaminación de prototipos en Ruby Driver
An improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier value to be turned into an object that is treated as an already-stored record of a caller-chosen model class. In applications that pass unfiltered request data into the affected association handling, an unauthenticated party may cause unintended modification or removal of stored records, and may render an individual record unreadable through that association.
- CVE-2026-135138Media6.5Prioridad mediaEPSS 0,48 %25 de nov de 2026
Contaminación de prototipos en Ruby Driver
Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable. This may result in unintended modification of data the application treats as trusted, such as flags used for its own access decisions.