CVE-2026-61534 Details
Description
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.
A prototype pollution vulnerability has been identified in the Yayson library, specifically in the Store and LegacyStore components, prior to version 4.3.0. The vulnerability arises because these components use attacker-controlled JSON:API type, id, and relationship names as keys in plain-object lookup tables. This allows for the injection of malicious data that can modify Object.prototype, leading to process-wide prototype pollution. Such pollution can cause denial-of-service conditions and logic corruption, with the potential for authorization bypass or code execution depending on the context within the consuming application.
Users can update to Yayson version 4.3.0 or later, where this vulnerability has been fixed. The update process involves downloading the latest version from the Yayson GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 14, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/confetti/yayson/security/advisories/GHSA-325j-mg25-8q58 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/confetti/yayson/commit/e460162d5a3ebac86424bead7424957c36f8dff9 | [email protected] | Source CodeVendor |
| https://github.com/confetti/yayson/pull/111 | [email protected] | Issue TrackingVendor |
| https://github.com/confetti/yayson/releases/tag/v4.3.0 | [email protected] | Release NotesVendor |
| https://github.com/confetti/yayson/security/advisories/GHSA-325j-mg25-8q58 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Yayson | <= 4.2.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 14, 2026 | New CVE Received | [email protected] |
Volerion