Official nomination
Vega CVE-2025-59840 - Unusual XSS Technique toString gadget chains
Vega's sandboxed expression language forbids arbitrary function calls, but an object whose toString is set to a library method has that method invoked on coercion. Because the method calls one of its own properties with another as the argument, attacker-set properties supply both the callee and its argument, giving DOM XSS.
Preserved copies · Nick Copi · Original publication ↗
Record
- Researcher
- Nick Copi
- Published by
- Critical Thinking - Bug Bounty Podcast
- Date
- Format
- Advisory
- Topic
- XSS
In the archive
- Nominated for the 2025 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of Nick Copi, first published at the original source. Preserved copies are kept so the citation survives its host.