Thank You Next Part 1: I'm so Grateful for the XSS 0 ▲ TrebledJ's Pages 49 minutes ago · 10 min read2058 words · Tech · hide In this new three-part series, I will share a bizarre security disclosure adventure I embarked on during the first half of 2026. I had hoped one post would be sufficient, but the complexity and— for lack of a better word— shittiness of this whole debacle begs otherwise. In this first post, I'll start simple by presenting 12 new CVEs across 11 Next.js applications. In the second post, I’ll be sharing a juicy r̸͖̒͌ͅe̴̪̩͑̏ḏ̸̀ǎ̷͔̃c̴̦̓t̶̼͋͆ḙ̵̈́d̵̥͇̓. Finally, in the third post, I’ll be exploring this convoluted mess with an analytical touch. So let’s dig into the fun! Description A DOM-based Cross-Site Scripting (XSS) vulnerability has been discovered in multiple applications. The root cause is unsanitised data passed to Next.js’ useRouter().push() and useRouter().replace() (hereafter called affected functions or sinks). If the data is an external URL, it will subsequently be passed to window.location. const router = useRouter(); router.push("javascript:alert(1)"); // boomTypeScriptIn… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town