# CVE-2026-61534: Yayson: Prototype pollution in the Store/LegacyStore deserialization

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-11T22:11:38.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-325j-mg25-8q58
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- confetti yayson: < 4.3.0
- yayson (npm): before 4.3.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/confetti/yayson/security/advisories/GHSA-325j-mg25-8q58> (exploit, web)
- <https://github.com/confetti/yayson/pull/111>
- <https://github.com/confetti/yayson/commit/e460162d5a3ebac86424bead7424957c36f8dff9>
- <https://github.com/confetti/yayson/releases/tag/v4.3.0>
- <https://github.com/confetti/yayson> (package)

## Sources

- CVE List: [CVE-2026-61534](https://www.cve.org/CVERecord?id=CVE-2026-61534), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-325j-mg25-8q58](https://github.com/advisories/GHSA-325j-mg25-8q58), CC-BY-4.0, modified 2026-09-11
- NVD: [CVE-2026-61534](https://nvd.nist.gov/vuln/detail/CVE-2026-61534), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61534 · Whole record: https://cve.day/CVE-2026-61534.json · Rebuilt by cve.day 2026-11-25T22:59:38.301Z
