A Node.js vulnerability dropped today. None of my sites care.
Node.js shipped a batch of security releases this week. A few of them are rated high severity, including one where a malformed Brotli response can let an attacker run code on the machine. The kind of thing that, if you run servers for a living, you read twice.
A client-minded version of me a few years ago would have felt a little jolt of dread at a headline like that. Something I depend on has a hole in it, so now I have scrambling to do. Instead I read it, checked a version number, and moved on. None of the sites I’ve built for people are affected. Not the Astro sites, not the EmDash ones either.
I want to explain why, because it’s the whole argument for how I build now, and this vulnerability lays it out better than I could on my own.
Where the code runs is the entire point
Node.js is involved in almost everything I make. But there’s a difference between a tool that builds your site and a tool that runs your live site, and that difference is where all the risk lives.
When I build an Astro site, Node runs on my machine. It renders every page, pulls in the images and fonts, and spits out a folder of plain HTML, CSS, and JavaScript. Then that folder goes up to Cloudflare and gets served to the world. Node’s job is done the second the build finishes. It is not sitting on a server somewhere answering requests from strangers on the internet.
So when Node has a vulnerability like this one, the thing that’s exposed is my build process, on my own computer, which no visitor can reach. The live site is a pile of static files. There is no Node running on it to attack. I update Node on my laptop when I get a minute, rebuild, and that’s the end of it. The vulnerability never had a path to any site I’ve shipped, because the vulnerable thing was never anywhere near the live site.
That’s the part worth sitting with. A serious bug in one of my core tools turned out to be a chore I do at my own pace, not an emergency that touches a single client.
Now picture the same bug in WordPress
WordPress is PHP, and PHP runs on the live server, on every single page load, for every visitor. That’s not a build step. That’s the engine of the site, running in public, all the time.
So when a high-severity bug lands in PHP, or in the WordPress core, or in one of the ten or fifteen plugins a normal WordPress site is running, it isn’t a note to self to update a tool later. It’s a live hole in a live site that bots are already scanning for. I’ve cleaned up the aftermath of exactly that more times than I’d like. Somebody misses an update for a couple weeks, a bot finds the open door, and now the site is redirecting somewhere nasty or quietly mailing spam off the server.
Same category of problem, a security bug in the stack, and the outcomes could not be more different. With how I build, a vulnerability hits a tool that isn’t exposed to the public. With WordPress, a vulnerability hits the actual running site. One is a maintenance note. The other is an incident.
This is why static Astro is so hard to beat
A static Astro site is just files. Built once, served as plain HTML off Cloudflare’s network. There’s no app running on the live site, no database, no login page facing the internet. An attacker can pick at a folder of HTML all day and find nothing to break into. The attack surface is close to zero.
That isn’t a happy accident. It’s the direct result of pushing all the moving parts, Node included, back into the build step where the public can’t reach them. The live site is the finished product, not the machine that made it. The machine stays home.
And EmDash gets most of the same benefit
Static Astro has one tradeoff I’m always honest about. The client can’t log in and edit their own content. For a lot of small businesses that’s fine, they’d rather text me the new hours than learn a dashboard. But some people want to edit things themselves, and that’s when I reach for EmDash.
EmDash is a real CMS with a real dashboard, so there is live code answering requests, which is different from a pure static site. But look at where that code runs. It isn’t PHP on a server I have to patch. It’s a Cloudflare Worker, with the database in Cloudflare D1 and the images in Cloudflare R2, all on Cloudflare’s edge. The runtime is Cloudflare’s, not a Node process I stood up and now have to babysit. When something at that layer needs a security patch, Cloudflare ships it across their whole network. It is not my server sitting unpatched because I got busy.
On top of that, EmDash has no plugins, which is the thing that actually gets most WordPress sites hacked, and there’s no password login to brute force, you sign in with a passkey. I won’t oversell it. Live code is live code, and you still have to write it carefully. But it’s one clean codebase on managed infrastructure instead of WordPress plus fifteen plugins on a box you’re responsible for feeding and patching forever.
The takeaway
The Node news this week was a non-event for my clients, and that’s not luck. It’s the design. When your tools build the site and then step away, a bug in those tools is something you handle quietly, on your own machine, on your own schedule. When your tools are the live site, the way PHP is for WordPress, every one of their bugs is your emergency, over and over, for as long as you own the thing.
Getting people out of that trap is most of what I do. A headline like this week’s is just a clean example of why it’s worth doing.