{"id":"CVE-2026-116583","kind":"vulnerability","aliases":["CVE-2026-116583"],"related":[],"title":"Seroval: typed array constructor name injects executable JavaScript into serialized output","description":"Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. From 1.6.0 until 1.6.11, the JavaScript-output APIs derive a typed array's constructor name from a property on the value that can be replaced by an own constructor property. When application code copies untrusted properties onto a typed array and then passes it to serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, the attacker-controlled name is written as executable JavaScript and can run in the page receiving the output. This issue is fixed in version 1.6.11.","summary":"Seroval versions 1.6.0 through 1.6.10 build JavaScript output using a constructor name read from a typed array property that can be overridden. If application code copies untrusted properties onto a typed array and serializes it, an attacker's name is written as executable JavaScript that runs in the receiving page.","severity":"medium","cvss":5.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["frontend","javascript","node","package","seroval"],"not_affected_if":["default-config","trusted-input-only"],"how_to_check":"- Run `npm ls seroval` in the project and look for any version from `1.6.0` through `1.6.10`.\n- Search application code for places that copy untrusted or user-supplied properties onto typed arrays before calling `serialize`, `crossSerialize`, `Serializer` or `compileJSON`.","fix":"- Upgrade `seroval` to `1.6.11` or later.\n- Until upgraded, do not pass typed arrays carrying untrusted properties to the serialization APIs.","status":"open","published_at":"2026-10-26T21:18:16+00:00","first_seen_at":"2026-10-26T21:20:32+00:00","triaged_at":"2026-10-26T21:21:14+00:00","updated_at":"2026-10-26T21:21:14+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-26T21:21:14Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade `seroval` to `1.6.11` or later.\n- Until upgraded, do not pass typed arrays carrying untrusted properties to the serialization APIs.","reach":"internet","title":"Seroval: typed array constructor name injects executable JavaScript into serialized output","impact":"high","summary":"Seroval versions 1.6.0 through 1.6.10 build JavaScript output using a constructor name read from a typed array property that can be overridden. If application code copies untrusted properties onto a typed array and serializes it, an attacker's name is written as executable JavaScript that runs in the receiving page.","category":"package","nicknames":[],"who_cares":["javascript","seroval","node","frontend"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker script runs in the page receiving serialized output","analyst_note":"","how_to_check":"- Run `npm ls seroval` in the project and look for any version from `1.6.0` through `1.6.10`.\n- Search application code for places that copy untrusted or user-supplied properties onto typed arrays before calling `serialize`, `crossSerialize`, `Serializer` or `compileJSON`.","needs_analyst":false,"not_affected_if":["default-config","trusted-input-only"],"who_is_affected":"Applications that use Seroval 1.6.0 through 1.6.10 and let untrusted input add properties to typed arrays before serialization are exposed. Projects that only serialize trusted data, or that do not use Seroval's JavaScript-output APIs, are unlikely to be affected.","user_interaction":"unknown","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000633,"input_tokens":3432,"output_tokens":579,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116583':14A,17A '-2026':13A,16A '1.6.0':25B,85C '1.6.10':27B '1.6.11':87C,163C 'api':92C 'applic':46B,116C 'array':3A,39B,54B,96C,124C 'attack':59B,140C 'attacker-control':139C 'beyond':81C 'build':28B 'capabl':83C 'code':47B,117C 'compilejson':137C 'complex':79C 'constructor':4A,33B,98C,113C 'control':141C 'copi':48B,118C 'crossseri':132C 'crossserializeasync':133C 'crossserializestream':134C 'cve':12A,15A 'deriv':93C 'execut':7A,65B,146C 'facilit':74C 'fix':160C 'frontend':18B 'includ':78C 'inject':6A 'issu':158C 'javascript':8A,19B,29B,66B,75C,90C,147C 'javascript-output':89C 'json.stringify':82C 'name':5A,34B,61B,99C,142C 'node':20B 'onto':51B,121C 'output':11A,30B,91C,156C 'overridden':44B 'packag':21B 'page':72B,153C 'pass':127C 'properti':40B,50B,102C,114C,120C 'read':35B 'receiv':71B,154C 'replac':109C 'run':68B,150C 'serial':10A,56B,130C,135C 'serializeasync':131C 'serov':1A,22B,23B,73C 'stringif':77C 'structur':80C 'type':2A,38B,53B,95C,123C 'untrust':49B,119C 'use':31B 'valu':76C,105C 'version':24B,162C 'written':63B,144C","nicknames":[],"mitigations":[],"who_affected":"Applications that use Seroval 1.6.0 through 1.6.10 and let untrusted input add properties to typed arrays before serialization are exposed. Projects that only serialize trusted data, or that do not use Seroval's JavaScript-output APIs, are unlikely to be affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-26T21:18:16+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116583","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116583","severity":null,"published_at":"2026-10-26T21:18:16+00:00","modified_at":"2026-10-26T21:18:17+00:00","first_seen_at":"2026-10-26T21:20:32+00:00","fetched_at":"2026-10-26T21:20:32+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}