“Cross-Side Crash”: The Easiest Way to Freeze a Browser Tab w
A stored cross-site scripting (XSS) vulnerability allows an attacker to inject a script that runs an infinite loop, appending large strings to the page and causing the victim's browser tab to crash. The attacker can freeze or crash the browser tab of any user who views the affected page.
Published on emiledurand.medium.com
“Cross-Side Crash” is a newly identified browser-based Denial-of-Service (DoS) technique that leverages stored Cross-Site Scripting (XSS) vulnerabilities to overload and crash a user’s browser tab. By injecting a malicious script into a web application, attackers can cause the victim’s browser tab to consume excessive…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
A victim's browser tab could become unresponsive or crash, causing a denial of service for that user.
What the attacker needed
Stored XSS vulnerability; victim visits the affected page
The fix
The application should validate and sanitise all user inputs, implement a Content Security Policy, and encode outputs to prevent script injection.
How it was found
- Inject a malicious script tag into a web application that stores user input.
- The script is stored in the backend and served to users.
- When a user loads the page, the script runs an infinite loop appending large strings to the page body.
- The browser tab consumes excessive memory and becomes unresponsive or crashes.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is about a security hole called stored cross-site scripting (XSS), where a bad script gets saved on a website and runs in other people's browsers. Here, the script just keeps adding huge amounts of text to the page, which uses up all the memory and makes the browser tab freeze or crash.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.