Remote Denial-of-Service with Chrome
A page could repeatedly reload itself and call the window-open function on each reload, which made Chrome consume large amounts of memory and hang. An attacker could use this to cause a remote denial of service on a victim's browser across several platforms.
{{media:0}}
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.
Context
Chrome is the target here, and the feature under abuse is the browser's handling of window.open() together with page reloads. Normally window.open() opens a new browsing context on request from a page, and location.reload() re-fetches the current document. Both are ordinary, script-driven actions that a page can trigger without any user gesture in the conditions described below.
The write-up frames the issue as a remote denial of service caused by memory exhaustion, drawing a parallel with CVE-2008-4340. The author notes that Google had, by the time of writing, decided to mark DoS reports as out of scope completely. The report was disclosed on 9 July 2020.
Setup
No accounts, roles, tooling versions or special preconditions are described. The researcher only states that the technique works on all devices: Mac, Linux, Windows and Android. The demonstration was recorded in a video hosted on Google Drive.
Finding it
The starting point is CVE-2008-4340, which the author describes as the first denial of service to reach Chrome. In that case an attacker could deliberately deliver a remote denial of service through memory consumption by passing a carriage return argument, \r\n\r\n, to window.open(). The author says it was patched within working hours by Google, and that Google later decided to mark DoS reports as out of scope.
The author then recalls a related observation from around 2016 to 2017: another researcher reported a browser issue on Brave where the browser could be hung with window.open driven through setInterval(), which works much like a loop, as in CVE-2008-4340. That method did not work on Chrome. The author does not give further detail on the Brave case.

Exploitation
Step 1: Reload the page on a timer
The author returns to the problem years later, after constant Chrome updates and stability updates, with this snippet:
setInterval(location.reload(),1000);
The script reloads the page with a 1000 millisecond delay. Note that the call is written as location.reload() rather than a function reference, so the reload is evaluated when setInterval is called; the author's description is that the page reloads every 1000 milliseconds.
Step 2: Open a window on every reload
The next piece is added so that a window is opened at every page reload:
window.open();
With both pieces in place, the author's reasoning is that Chrome has to block each window.open() call at every 1000 milliseconds, similar to opening a new tab per second while blocking each function. That blocking work eats a lot of memory, which makes each block useless.


The author describes the mechanism as a looped window.open that floods the browser with requests, which means more memory consumption, adding that Google eats up a lot of memory by nature. The result was recorded in a video:
[## remote-dos.mp4
Edit description
drive.google.com](https://drive.google.com/file/d/[redacted]/view)
Root cause
The author's reasoning is that Chrome must block each window.open() call every 1000 milliseconds, and that this blocking eats a lot of memory. The author does not present a code-level analysis of Chrome's implementation, so the precise component at fault is not identified in the text. The author says Google fixed CVE-2008-4340 by blocking every requested new window, and credits that.
Impact
The impact is a remote denial of service via memory exhaustion. The author states that anyone can be targeted with this and that it works on all devices: Mac, Linux, Windows and Android. No CVSS score or bounty is given. The author notes that the issue was reported to Google and is remediated by now.
Fix
The report does not describe the change Google made to remediate this specific issue. For context, it describes the earlier CVE-2008-4340 fix as blocking every requested new window.
Variants to test
- Timer-driven reload plus window creation: serve a page that reloads itself on an interval and calls
window.open()on each load, then watch memory and responsiveness. - Timer-driven
window.open()without reload: usesetIntervalto callwindow.opendirectly, as in the Brave report the author mentions. The author says this method did not work on Chrome at the time. - Carriage return argument: pass
\r\n\r\ntowindow.open()as in CVE-2008-4340. - Cross-platform check: run the same page on Mac, Linux, Windows and Android.
What happened, in plain words
A security researcher found a way to make the Chrome browser slow down and eventually stop responding, just by getting someone to open a web page. The page uses two ordinary things every website can do: reload itself, and ask the browser to open a new window. Repeated over and over, those two actions make Chrome use more and more memory until it is exhausted. The researcher calls this a remote denial of service, or remote DoS: "remote" because the attacker does not need to touch the victim's computer, and "denial of service" because the victim is denied the normal use of their own browser.
The write-up compares the technique with an older bug, CVE-2008-4340, which the author describes as the first denial of service to reach Chrome. The author also notes that Google had, by the time of writing, decided to mark DoS reports as out of scope completely, meaning such reports are no longer accepted as valid security issues. The report was disclosed on 9 July 2020.

The image above is the author's profile picture on the publishing platform.
The pieces involved
Chrome is the target: the browser itself, not a website running on it. The feature being abused is the browser's handling of window.open() together with page reloads.
window.open() is a built-in instruction that any page can give to the browser: "open a new window (or tab) for me". Websites use it for things like pop-up windows, login dialogs or previews. location.reload() is another built-in instruction: "load the current page again from the server". Both are ordinary, script-driven actions, meaning a page's JavaScript code can trigger them without the visitor clicking anything, in the conditions described below.
A useful comparison: think of the browser as a waiter and the page as a customer. window.open() is the customer asking for a new table, and location.reload() is the customer asking for the menu again. One request is normal. A customer who asks for a new table every second, forever, keeps the waiter running back and forth until no other customer gets served.
The write-up frames the issue as a remote denial of service caused by memory exhaustion, drawing a parallel with CVE-2008-4340. A CVE is a public catalogue number given to a known security flaw, so CVE-2008-4340 is simply the identifier of an older, documented bug.
Setup
No accounts, roles, tooling versions or special preconditions are described. The researcher only states that the technique works on all devices: Mac, Linux, Windows and Android. The demonstration was recorded in a video hosted on Google Drive.
Finding it
The starting point is CVE-2008-4340, which the author describes as the first denial of service to reach Chrome. In that case an attacker could deliberately deliver a remote denial of service through memory consumption by passing a carriage return argument, \r\n\r\n, to window.open(). A carriage return and a newline are invisible text characters that normally mark the end of a line; here they were used as input to the window-opening instruction. The author says the bug was patched within working hours by Google, and that Google later decided to mark DoS reports as out of scope.
The author then recalls a related observation from around 2016 to 2017: another researcher reported a browser issue on Brave, a different browser, where the browser could be hung with window.open driven through setInterval(). setInterval() is a JavaScript function that runs another piece of code again and again, every so many milliseconds, which works much like a loop, as in CVE-2008-4340. That method did not work on Chrome. The author does not give further detail on the Brave case.

The image above is a reaction picture the author uses to introduce the story, captioned "evil laugh".
Exploitation
Step 1: Reload the page on a timer
The author returns to the problem years later, after constant Chrome updates and stability updates, with this snippet:
setInterval(location.reload(),1000);
Line by line, in plain words:
setInterval(...)is the JavaScript function that repeats something on a timer. It takes two things: what to repeat, and how often, in milliseconds. One second is 1000 milliseconds.location.reload()is the instruction to reload the current page.1000is the delay, in milliseconds, so the intent is to repeat the action every second.
The author's description is that the script reloads the page with a 1000 millisecond delay. Note that the call is written as location.reload() rather than a function reference, so the reload is evaluated when setInterval is called; the author's description is that the page reloads every 1000 milliseconds.
Why this step: the goal is to make the browser do work again and again without the visitor doing anything. A page that reloads itself on a timer is the simplest way to create that repetition.
Step 2: Open a window on every reload
The next piece is added so that a window is opened at every page reload:
window.open();
Line by line, in plain words:
windowrefers to the browser window the page lives in..open()is the instruction that asks the browser to open a new window or tab.- The empty parentheses mean no address is given, so the browser is simply asked to open a new, blank window.
With both pieces in place, the author's reasoning is that Chrome has to block each window.open() call at every 1000 milliseconds, similar to opening a new tab per second while blocking each function. That blocking work eats a lot of memory, which makes each block useless.
Why this step: the reload alone only makes the page refresh. Adding window.open() on every load means each refresh also triggers a new-window request, so the browser is asked to do two things at once, over and over.


The two images above illustrate the author's explanation of the mechanism: a looped window.open that floods the browser with requests, which means more memory consumption, adding that Google eats up a lot of memory by nature.
The result was recorded in a video:
[## remote-dos.mp4
Edit description
drive.google.com](https://drive.google.com/file/d/[redacted]/view)
Root cause
The author's reasoning is that Chrome must block each window.open() call every 1000 milliseconds, and that this blocking eats a lot of memory. The author does not present a code-level analysis of Chrome's implementation, so the precise component at fault is not identified in the text. The author says Google fixed CVE-2008-4340 by blocking every requested new window, and credits that.
Impact
The impact is a remote denial of service via memory exhaustion. The author states that anyone can be targeted with this and that it works on all devices: Mac, Linux, Windows and Android. No CVSS score or bounty is given. The author notes that the issue was reported to Google and is remediated by now.
Why this matters to a beginner: a denial of service does not steal data or break into an account. It stops the victim from using their own device normally, which is still a real problem, especially when the trigger is simply visiting a page.
Fix
The report does not describe the change Google made to remediate this specific issue. For context, it describes the earlier CVE-2008-4340 fix as blocking every requested new window.
Variants to test
- Timer-driven reload plus window creation: serve a page that reloads itself on an interval and calls
window.open()on each load, then watch memory and responsiveness. - Timer-driven
window.open()without reload: usesetIntervalto callwindow.opendirectly, as in the Brave report the author mentions. The author says this method did not work on Chrome at the time. - Carriage return argument: pass
\r\n\r\ntowindow.open()as in CVE-2008-4340. - Cross-platform check: run the same page on Mac, Linux, Windows and Android.
Glossary
- Browser: the program you use to visit websites, such as Chrome, Brave or Firefox.
- JavaScript: the programming language that web pages run inside the browser to make themselves interactive.
window.open(): a JavaScript instruction that asks the browser to open a new window or tab.location.reload(): a JavaScript instruction that asks the browser to load the current page again.setInterval(): a JavaScript function that repeats a piece of code on a timer, given in milliseconds.- Millisecond: one thousandth of a second; 1000 milliseconds make one second.
- Loop: code that repeats the same action many times.
- Memory: the working space a program uses while running; when it fills up, the program slows down or stops.
- Memory exhaustion: a situation where a program has used up so much memory that it can no longer work properly.
- Denial of service (DoS): an attack that stops a system or program from working for its normal user.
- Remote denial of service: a denial of service triggered from somewhere else, for example by a web page, without physical access to the victim's device.
- CVE: a public catalogue number given to a known security flaw, such as CVE-2008-4340.
- Out of scope: a category of report that a bug bounty programme no longer accepts as a valid finding.
- Bug bounty programme: a scheme where organisations pay or credit people who report security problems to them.
- Patch: a fix applied to software to close a security flaw.
- Remediated: fixed, so the problem no longer occurs.
- Carriage return and newline: invisible text characters, written
\rand\n, that normally mark the end of a line. - CVSS score: a standard number used to express how severe a security flaw is.
- Bounty: a reward, usually money, paid for a valid security report.