Skip to content
Planet KD

Your AI-Built Website Works. Is It Patched?

25 Nov 20265 min read

Your website works. It can still be unpatched.

My own site, koriigami.com, was running an affected version of Next.js until 29 October 2026. It worked perfectly the whole time. That's the problem.

On 14 October, Next.js shipped fixes for three security holes in a single release. Two were rated critical: both let an attacker run their own code on your server without logging in. The third let someone knock an app offline. A second release followed on 3 November with seven more fixes, most of them in Next.js's newer caching features.

If an AI tool built your website, there's a good chance nobody has touched its dependencies since launch day. "It works" and "it's patched" are two very different sentences, and only one of them shows up when you open the site.

By the end of this piece you'll know your exact Next.js version, whether it's affected, how to upgrade it without breaking the live site, and how to make sure the next fix reaches you without you looking for it. It takes about ten minutes.

Why AI-built sites fall behind

When you build with Lovable, v0, Bolt, Cursor or Claude Code, the tool picks a framework and a version on the day you start. Then you ship, and the tool moves on to your next prompt.

Nothing in that process tells you when the framework releases a security fix. There's no update button on your homepage. Your hosting dashboard keeps showing green ticks, because your site is up. Being up and being safe are different checks.

A developer on a team would normally own this job. If you built the site yourself, you're that person now, whether you meant to be or not.

The five-step check

StepWhat to doDone when
1. Find your versionOpen package.json and look for "next"You know the exact version number
2. Compare16.x needs 16.4.5 or later. 15.x needs 15.5.29 or laterYou know if you're affected
3. Upgrade and redeployUpdate next, run the build, deployThe live site runs the fixed version
4. Turn on alertsEnable Dependabot alerts on your GitHub repositoryYou hear about the next fix without looking
5. Name an ownerPut a monthly "update dependencies" slot in someone's calendarIt's someone's job, not nobody's

1. Find your version

Open your project and find the file called package.json. Look for a line that starts with "next". The number after it is your version, for example "next": "16.3.2".

No "next" line at all? Your site uses a different framework. Steps 3 to 5 still apply; look up that framework's security page instead.

If your project lives only inside an AI builder, ask it directly: "Which version of Next.js does this project use?"

2. Compare it with the fixed versions

The fixes from 3 November are in:

  • On 16.x: you need 16.4.5 or later
  • On 15.x: you need 15.5.29 or later
  • On 14.x or older: no fixed version was released for your line. Plan a move to a supported version

These versions include the October fixes too. If you already upgraded in October (to 16.4.1 or 15.5.28), the two critical bugs are fixed on your site, but upgrade once more: several of the November fixes stop one visitor's cached data from being shown to another.

The October release notes said to upgrade immediately, even if your app doesn't use the specific features involved. Don't try to work out whether you're "really" exposed. Upgrade.

3. Upgrade and redeploy

If you work in a code editor with an AI assistant, ask it: "Upgrade next to the latest patch release for my current major version, run the build, and fix anything that breaks." Then deploy.

The redeploy matters. Updating the version on your laptop changes nothing for visitors until the new build is live. Netlify's own advice was to upgrade and redeploy, and it noted that old deploy previews could stay vulnerable until they're deleted.

After deploying, check the live site still works: sign in, submit a form, load a page with images.

4. Turn on alerts

This is the step that stops you writing this article to yourself in six months.

On GitHub, open your repository's Settings, find the code security section, and enable Dependabot alerts. When a package your site depends on gets a security fix, you get an email. It's free and takes a minute.

5. Name an owner

Alerts only help if someone acts on them. Put a recurring monthly slot in your calendar: "Update website dependencies." Fifteen minutes, once a month, is enough for most small sites.

If you hired someone to build the site, ask them who's doing this now. If the answer is a pause, that's your answer.

When to bring in help

Upgrading within the same major version (16.3 to 16.4) is usually painless. Jumping majors (14 to 16) can break things, especially on sites with logins, payments or custom server code.

If your build fails after an upgrade and your AI assistant can't fix it in a couple of tries, stop and get a developer to look. A broken checkout costs more than an hour of someone's time.

The rule I follow now

Working and patched are separate states, and only one of them is visible. I now treat dependency updates the way I treat backups: boring, scheduled, and never skipped because the site "seems fine".

Run the five steps now. If your site is already patched, step 4 takes a minute and saves you from finding out about the next one on social media.

Next.jsWeb SecurityAI DevelopmentVibe CodingBuild It Right

More notes

All writing →