CVE-2026-61534
Yayson is a library for serializing and reading JSON API data in JavaScript. Prior to 4.3.0, Store and LegacyStore use attacker-controlled JSON:API type, id, and relationship names as keys in plain-object lookup tables in src/yayson/store.ts and src/yayson/legacy-store.ts. A document whose type is __proto__ causes model-cache writes to modify Object.prototype, with the attacker controlling the polluted property name through id and its value through attributes. The malicious type can also be supplied by an included resource, and LegacyStore is reachable when a configured types mapping resolves to __proto__. Unsafe relationship names including __proto__, constructor, and prototype provide additional document-derived member paths. The resulting process-wide prototype pollution can cause denial of service and logic corruption; authorization bypass or code execution depends on suitable gadgets in the consuming application. This issue is fixed in version 4.3.0.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.1
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS probability
- 0.78%
- CWE
- CWE-1321
- Published
- 2026-09-14
- Last modified
- 2026-09-14
Affected products
- confetti yayson
Weakness type
Related vulnerabilities
- CVE-2011-10019 — Spreecommerce < 0.60.2 Search Parameter RCE
- CVE-2024-21512 — Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitizatio
- CVE-2026-34621 — Acrobat Reader | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321)
- CVE-2026-32621 — Apollo Federation has prototype pollution via incomplete key sanitization
- CVE-2025-25015 — Kibana arbitrary code execution via prototype pollution
- CVE-2026-33994 — Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521
- CVE-2026-21854 — Tarkov Data Manager Authentication Bypass vulnerability
- CVE-2026-33696 — n8n Vulnerable to Prototype Pollution in XML & GSuiteAdmin node parameters lead to RCE