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.
What this means for your business
- An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 0.8% chance of attack attempts being seen in the next 30 days, ranking above 54% of all known flaws.
What to do
- 1Ask your IT team or provider whether any of your systems use the affected product.
- 2If you do, follow the vendor's guidance. No patch reference has been published yet.
Not sure if your company is exposed?
Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.
Scoring
- CVSS
- 9.1 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Weakness
- CWE-1321
- Assigned by
- security-advisories@github.com
Dates
- Published
- 2026-09-14
- Last modified
- 2026-09-14
- Sources
- NVD
References
- https://github.com/confetti/yayson/commit/e460162d5a3ebac86424bead7424957c36f8dff9
- https://github.com/confetti/yayson/pull/111
- https://github.com/confetti/yayson/releases/tag/v4.3.0
- https://github.com/confetti/yayson/security/advisories/GHSA-325j-mg25-8q58
- https://github.com/confetti/yayson/security/advisories/GHSA-325j-mg25-8q58