## Seroval: Code injection through a typed array's own constructor property

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs
- CVE: CVE-2026-116583
- 公開日時: 2026-10-28T21:17:36.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-f86p-h4j2-7qgj)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-f86p-h4j2-7qgj

影響: npm:seroval >= 1.6.0, < 1.6.11 → 1.6.11
seroval writes a typed array as a call to its constructor. In affected versions, the constructor name in the output is read from a property that data on the value can replace, and it is written without checks. A typed array that received properties from untrusted data can then put arbitrary code into the serialized output. Details Version 1.6.0 changed how seroval finds the class of an object, so that objects with their own constructor property serialize correctly. Typed arrays still took the c…