Preliminary research
JavaScript Functions Overload Confusion
AI-collected research leads through 22 September 2026, including targeted additions between broader sweeps. Unranked, incomplete, not community-vetted, and subject to change.
An array sent as m.data.origin stringifies to https://example.com, so new URL().hostname passes the allowlist, but being an object it picks postMessage's options overload and the secret is delivered to the attacker's targetOrigin. The same array drives window[func](data) into setTimeout's string branch and log.constructor.constructor into Function(data)(). A sweep of 2,228 Blink IDL files found ~112 overloaded operations and ~22 Trusted Types sinks that fork on type.
Record
- Researcher
- Yashar Shahinzadeh
- Published by
- Voorivex Team
- Date
- Topic
- Server
In the archive
Tags
This page is the archive's own catalogue record. The research is the work of Yashar Shahinzadeh, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .