<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr" -->

---
title: Next.js patches two RCEs, MicroLighter ditches spans for...
description: Next.js rushed out a security release covering two unrelated unauthenticated RCE bugs, one in AVIF image handling and one hitting Windows servers. Dave...
canonical: https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Next.js patches two RCEs, MicroLighter ditches spans for CSS Highlights | daily.dev
og:description: Next.js rushed out a security release covering two unrelated unauthenticated RCE bugs, one in AVIF image handling and one hitting Windows servers. Dave...
og:url: https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr
og:image: https://api.daily.dev/og/posts/B3tiMbubR.png
og:image:alt: Next.js patches two RCEs, MicroLighter ditches spans for CSS Highlights
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Next.js patches two RCEs, MicroLighter ditches spans for CSS Highlights

**[Web Digest](https://daily.dev/sources/webdev_digest)** · 4 min read · 1 upvotes · 0 comments

## Summary

Next.js rushed out a security release covering two unrelated unauthenticated RCE bugs, one in AVIF image handling and one hitting Windows servers. Dave Rupert's MicroLighter reimagines syntax highlighting using the CSS Custom Highlights API instead of span injection, landing at 2KB. JetBrains brought its full IntelliJ language engine into VS Code via LSP for Java and Kotlin. Chrome 150 shipped flex-wrap: balance, finally giving flexbox a native fix for lone wrapped items.

## Content

**TLDR:** Next.js rushed out a security release covering two unrelated unauthenticated RCE bugs, one in AVIF image handling and one hitting Windows servers. Dave Rupert's MicroLighter reimagines syntax highlighting using the CSS Custom Highlights API instead of span injection, landing at 2KB. JetBrains brought its full IntelliJ language engine into VS Code via LSP for Java and Kotlin. Chrome 150 shipped flex-wrap: balance, finally giving flexbox a native fix for lone wrapped items.

---

## Next.js ships emergency patch for two unauthenticated RCE bugs

Next.js moved up its August release by a day after a second critical vulnerability surfaced late in the process. One bug lives in AVIF image handling via libheif (pulled in through sharp) — Next.js can't patch it directly, so AVIF optimization is disabled until libheif fixes it upstream. The other hits Windows-hosted servers on Pages or App Router without Cache Components, tracked as CVE-2026-75604, with no workaround besides upgrading to 16.3.3 or 15.5.24. Vercel users are already covered since their runtime is Linux-based. [Read more](https://daily.dev/posts/iSXQGLfRT)

## MicroLighter swaps span soup for the CSS Custom Highlights API

Dave Rupert's new syntax highlighter skips the decades-old approach of wrapping every token in a span, instead using the `::highlight()` pseudo-element to paint text ranges without touching the DOM. It loads TextMate grammars on demand, so you only pull in the languages you actually use, landing at roughly 2KB versus the hundreds of KB heavier highlighters ship. It's not trying to replace Shiki or Prism for edge cases, but it's a solid signal for where the platform is heading now that Custom Highlights hit Baseline this year. [Read more](https://daily.dev/posts/v4hL2jvSq)

## JetBrains brings the real IntelliJ Java/Kotlin engine into VS Code

A new preview extension runs JetBrains' actual language engine inside VS Code and Cursor over LSP, not a stripped-down clone. It needs a Maven, Gradle, or Bazel project and conflicts with the Red Hat, Oracle, and Microsoft Java extensions, which have to be disabled per workspace. Preview builds expire after 30 days, and once 1.0 ships you're looking at a 60-day trial followed by an IntelliJ Ultimate subscription — Kotlin-only projects can dodge that by sticking with the free Apache-2.0 Kotlin language server. [Read more](https://daily.dev/posts/nesNM4gM1)

## Chrome 150 ships flex-wrap: balance for lone wrapped items

The new property solves the annoying case where a single flex item wraps onto its own line, distributing items evenly across lines instead of forcing developers into media queries or container query hacks. A companion property, flex-line-count, forces a minimum number of wrap lines, which opens the door to masonry-style layouts using round() and container query units. [Read more](https://daily.dev/posts/vYFWzD9N7)

---

## Also notable

- **NitroFetch cuts Expensify's warm startup by up to 650ms:** Migrating React Native networking to NitroFetch (Cronet on Android, URLSession on iOS) dropped average request duration 15-30% and improved warm startup P50 by 267ms on iOS and 650.5ms on Android. [Read more](https://daily.dev/posts/9aRh53Bt6)
- **CSS sibling-count() and sibling-index() land across all engines:** The two functions are now newly available in every major browser engine, letting developers style elements by sibling position without JavaScript. [Read more](https://daily.dev/posts/9nR3efP6F)
- **Nuxt 4.5 adds experimental SSR streaming and moves to Vite 8:** The release brings a stable error code system, a new Rspack 2 builder via Rsbuild, and streaming that's disabled for bots and buffered-fallback routes; Nuxt 3 hits end-of-life on July 31, 2026. [Read more](https://daily.dev/posts/qNnzApzfF)
- **JPEG XL still trails AVIF on typical web photos despite browser convergence:** Firefox intends to ship JPEG XL by default in Firefox 157 and Chromium's intent to ship has landed, but on Mozilla's own test image JPEG XL only beats lossless WebP by a few percent and AVIF remains stronger for photography. [Read more](https://daily.dev/posts/BwXQ9KxyB)
- **Hotwire migration saves roughly 10KB gzipped over React/Redux:** Turbo/Stimulus lands around 35KB gzipped versus 45KB+ for React/Redux alone, though the writeup argues apps with genuine real-time or offline needs should keep their SPA. [Read more](https://daily.dev/posts/azuW4JtcH)

## Similar posts on daily.dev

- [Issue \#795: The coding challenge you don't want to pass — JavaScript Weekly](https://daily.dev/posts/issue-795-the-coding-challenge-you-don-t-want-to-pass-javascript-weekly-b82lvvqol) · JavaScript Weekly · 2 upvotes · 1 comments

---

Tags: [#security](https://daily.dev/tags/security), [#devtools](https://daily.dev/tags/devtools), [#css](https://daily.dev/tags/css), [#nextjs](https://daily.dev/tags/nextjs)

[View this post on daily.dev](https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr","headline":"Next.js patches two RCEs, MicroLighter ditches spans for CSS Highlights","text":"Next.js rushed out a security release covering two unrelated unauthenticated RCE bugs, one in AVIF image handling and one hitting Windows servers. Dave Rupert's MicroLighter reimagines syntax highlighting using the CSS Custom Highlights API instead of span injection, landing at 2KB. JetBrains brought its full IntelliJ language engine into VS Code via LSP for Java and Kotlin. Chrome 150 shipped flex-wrap: balance, finally giving flexbox a native fix for lone wrapped items.","url":"https://daily.dev/posts/next-js-patches-two-rces-microlighter-ditches-spans-for-css-highlights-b3timbubr","datePublished":"2026-08-26T04:18:40.066Z","dateModified":"2026-09-13T20:56:02.678Z","author":{"@type":"Organization","name":"Web Digest","logo":"https://media.daily.dev/image/upload/s--C833eNQW--/f_auto,q_auto/v1773839396/logos/webdev_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/webdev_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/webdev_digest","name":"Web Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Web Digest","item":"https://daily.dev/sources/webdev_digest"},{"@type":"ListItem","position":3,"name":"Next.js patches two RCEs, MicroLighter ditches spans for CSS Highlights"}]}
```

