{"id":"GHSA-h64f-5h5j-jqjh","kind":"vulnerability","aliases":["GHSA-h64f-5h5j-jqjh"],"related":[],"title":"WAF and framework adapter mitigations for React and Next.js vulnerabilities · Changelog","description":"WAF and framework adapter mitigations for React and Next.js vulnerabilities · Changelog\n\n# Changelog\n\nNew updates and improvements at Cloudflare.\n\nMay 7, 2026\n\n## WAF and framework adapter mitigations for React and Next.js vulnerabilities\n\nMultiple security vulnerabilities were disclosed by the React team and Vercel affecting React Server Components and Next.js. These include denial of service, middleware and proxy bypass, server-side request forgery, cross-site scripting, and cache poisoning issues across a range of severity levels.\n\nWe strongly recommend updating your application and its dependencies immediately. Patched versions are available for React (`react-server-dom-webpack`, `react-server-dom-parcel`, and `react-server-dom-turbopack` `19.0.6`, `19.1.7`, and `19.2.6`) and Next.js (`15.5.16` and `16.2.5`).\n\n#### WAF protections\n\nCloudflare WAF rules deployed in response to prior React Server Component CVEs (`CVE-2025-55184` ↗︎ and `CVE-2026-23864` ↗︎) already provide coverage for the newly disclosed denial-of-service vulnerabilities. These rules are enabled by default with a Block action for all customers using the Cloudflare Managed Ruleset, including Free plan customers using the Free Managed Ruleset.\n\n| Ruleset | Rule description | Rule ID | Default action |\n| --- | --- | --- | --- |\n| Cloudflare Managed Ruleset | React - DoS - `CVE-2025-55184` ↗︎ | `2694f1610c0b471393b21aef102ec699` | Disabled |\n| Cloudflare Managed Ruleset | React - DoS - `CVE-2026-23864` ↗︎ | `aaede80b4d414dc89c443cea61680354` | Block |\n\nThe existing rules detect the underlying attack patterns generically. As a result, they apply to the new `CVE-2026-23870` ↗︎ denial-of-service vulnerability in Server Components and the corresponding Next.js advisory `GHSA-8h8q-6873-q5fj` ↗︎.\n\nCloudflare is investigating whether WAF rules can be safely and effectively deployed for three of the high-severity advisories: `CVE-2026-23870` ↗︎ / `GHSA-8h8q-6873-q5fj` ↗︎, `GHSA-267c-6grr-h53f` ↗︎, and `GHSA-mg66-mrh9-m8jx` ↗︎. If it is possible to create a managed WAF rule that mitigates these CVEs and does not potentially break application behavior, Cloudflare will add additional managed WAF rules. These rules will be announced through the WAF changelog. Because these vulnerabilities were shared with Cloudflare with minimal advance notice, we are still investigating what WAF mitigations are possible.\n\nSeveral of the disclosed vulnerabilities are not possible to block in WAF. We strongly recommend updating your applications so they are not purely reliant on WAF mitigations.\n\nCustomers on Pro, Business, or Enterprise plans should ensure that Managed Rules are enabled.\n\n#### Next.js adapters\n\nVinext: Vinext ↗︎ is a Vite plugin that reimplements the Next.js API surface. Vinext's latest release is not vulnerable to any of the disclosed CVEs. Vinext's architecture differs from stock Next.js in ways that sidestep the affected code paths. For example, it does not implement the PPR resume protocol, does not expose Pages Router data-route endpoints, and strips internal headers such as `x-nextjs-data` at request boundaries. As an extra layer of defense, we added a React `19.2.6` or later requirement when running `vinext init` (PR #1118 ↗︎, PR #1112 ↗︎) to prevent accidentally running a vulnerable version of React with Vinext.\n\nOpenNext on Cloudflare: OpenNext is an adapter that lets you deploy Next.js apps to the Cloudflare Workers platform. OpenNext itself is not directly vulnerable to the React denial-of-service CVE, but users must update the Next.js version in their application. The OpenNext team has updated the adapter to further harden against these vectors and released a new version of the Cloudflare adapter. Test fixtures and examples have been updated to use patched versions (PR #1255 ↗︎).\n\n#### Summary of disclosed vulnerabilities\n\n| Advisory | Severity | Issue | WAF status |\n| --- | --- | --- | --- |\n| `CVE-2026-23870` ↗︎ / `GHSA-8h8q-6873-q5fj` ↗︎ | High | Denial of service in Server Components | WAF rules in place: `2694f1610c0b471393b21aef102ec699`, `aaede80b4d414dc89c443cea61680354` Cloudflare is investigating additional managed WAF coverage |\n| `GHSA-267c-6grr-h53f` ↗︎ | High | Middleware bypass via segment-prefetch routes | Cloudflare is investigating if this can be safely and effectively mitigated by a managed WAF rule |\n| `GHSA-mg66-mrh9-m8jx` ↗︎ | High | Denial of service via connection exhaustion in Cache Components | Cloudflare is investigating if this can be safely and effectively mitigated by a managed WAF rule |\n| `GHSA-492v-c6pp-mqqv` ↗︎ | High | Middleware bypass via dynamic route parameter injection | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-c4j6-fc7j-m34r` ↗︎ | High | SSRF via WebSocket upgrades | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-36qx-fr4f-26g5` ↗︎ | High | Middleware bypass in Pages Router i18n | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-ffhc-5mcf-pf4q` ↗︎ | Moderate | XSS via CSP nonces | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-gx5p-jg67-6x7h` ↗︎ | Moderate | XSS in `beforeInteractive` scripts | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-h64f-5h5j-jqjh` ↗︎ | Moderate | Denial of service in Image Optimization API | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-wfc6-r584-vfw7` ↗︎ | Moderate | Cache poisoning in RSC responses | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-vfv6-92ff-j949` ↗︎ | Low | Cache poisoning via RSC cache-busting collisions | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-3g8h-86w9-wvmq` ↗︎ | Low | Middleware redirect cache poisoning | Custom WAF rule possible; global managed rule could potentially break application behavior |","summary":"Cloudflare's changelog lists a batch of newly disclosed React Server Components and Next.js vulnerabilities, including denial of service, middleware bypass, SSRF, XSS and cache poisoning. Cloudflare says WAF rules cover only some of them and that teams should update React and Next.js rather than rely on the WAF.","severity":"unknown","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["cloudflare","cloudflare-workers","lab-disclosure","next.js","react","react-server-components","self-hosted","vendor"],"not_affected_if":["no-react-server-components","static-export"],"how_to_check":"- Check the React packages with `npm ls react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack`\n- Check the Next.js version with `npx next --version`\n- Confirm Cloudflare Managed Rules are enabled for Pro, Business, or Enterprise plans","fix":"- Update React packages `react-server-dom-webpack`, `react-server-dom-parcel`, and `react-server-dom-turbopack` to `19.0.6`, `19.1.7`, or `19.2.6` on the matching branch\n- Update Next.js to `15.5.16` or `16.2.5`\n- Use the updated OpenNext Cloudflare adapter if deploying Next.js to Cloudflare Workers","status":"open","published_at":"2026-05-07T00:00:00+00:00","first_seen_at":"2026-10-24T18:56:54+00:00","triaged_at":"2026-10-25T05:35:27+00:00","updated_at":"2026-10-25T05:35:27+00:00","category":"vendor","confidence":0.5,"triage":{"at":"2026-10-25T05:35:27Z","model":"claude-haiku-5-5","output":{"fix":"- Update React packages `react-server-dom-webpack`, `react-server-dom-parcel`, and `react-server-dom-turbopack` to `19.0.6`, `19.1.7`, or `19.2.6` on the matching branch\n- Update Next.js to `15.5.16` or `16.2.5`\n- Use the updated OpenNext Cloudflare adapter if deploying Next.js to Cloudflare Workers","reach":"internet","title":"Cloudflare: WAF mitigations for React and Next.js disclosures, updates still required","impact":"medium","summary":"Cloudflare's changelog lists a batch of newly disclosed React Server Components and Next.js vulnerabilities, including denial of service, middleware bypass, SSRF, XSS and cache poisoning. Cloudflare says WAF rules cover only some of them and that teams should update React and Next.js rather than rely on the WAF.","category":"vendor","nicknames":[],"who_cares":["next.js","react","react-server-components","cloudflare-workers","self-hosted"],"confidence":0.5,"needs_auth":"unknown","worst_case":"unknown; sources list denial of service, middleware bypass, SSRF, XSS and cache poisoning","analyst_note":"Advisory GHSA-h64f-5h5j-jqjh is a Moderate denial of service in the Next.js Image Optimization API; pull the GitHub advisory for its affected version range and exact fix.","how_to_check":"- Check the React packages with `npm ls react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack`\n- Check the Next.js version with `npx next --version`\n- Confirm Cloudflare Managed Rules are enabled for Pro, Business, or Enterprise plans","needs_analyst":true,"not_affected_if":["static-export","no-react-server-components"],"who_is_affected":"Teams running React Server Components or Next.js applications are affected, and Cloudflare says the disclosed issues span a range of severities. Cloudflare's WAF rules are not a complete fix, so applications that depend only on WAF protection stay exposed. Vinext users are reported as not vulnerable on the latest release, and teams not using these frameworks can skip it.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000984,"input_tokens":5803,"output_tokens":808,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2025':220C,278C '-2026':224C,288C,310C,351C,661C '-23864':225C,289C '-23870':311C,352C,662C '-55184':221C,279C '1112':562C '1118':560C '1255':650C '15.5.16':202C '16.2.5':204C '19.0.6':196C '19.1.7':197C '19.2.6':199C,551C '2026':108C '267c':360C '2694f1610c0b471393b21aef102ec699':280C '5h5j':15A,20A '6873':328C,356C,666C '6grr':361C '7':107C '8h8q':327C,355C,665C 'aaede80b4d414dc89c443cea61680354':290C 'accident':565C 'across':158C 'action':247C,271C 'adapt':4A,91C,112C,468C,580C,622C,637C 'add':392C,548C 'addit':393C 'advanc':415C 'advisori':324C,349C,655C 'affect':130C,506C 'alreadi':226C 'announc':401C 'api':479C 'app':586C 'appli':305C 'applic':169C,388C,443C,615C 'architectur':496C 'attack':298C 'avail':177C 'batch':44B 'behavior':389C 'block':246C,291C,435C 'boundari':540C 'break':387C 'busi':456C 'bypass':59B,144C 'cach':63B,155C 'changelog':11A,41B,98C,99C,405C 'cloudflar':22B,24B,39B,65B,105C,207C,253C,272C,282C,330C,390C,412C,576C,589C,636C 'cloudflare-work':23B 'code':507C 'compon':34B,50B,133C,217C,319C 'correspond':322C 'cover':69B 'coverag':228C 'creat':374C 'cross':151C 'cross-sit':150C 'custom':250C,259C,453C 'cve':219C,223C,277C,287C,309C,350C,605C,660C 'cves':218C,382C,493C 'data':525C,537C 'data-rout':524C 'default':243C,270C 'defens':546C 'denial':55B,138C,234C,313C,602C,669C 'denial-of-servic':233C,312C,601C 'depend':172C 'deploy':210C,341C,584C 'descript':267C 'detect':295C 'differ':497C 'direct':596C 'disabl':281C 'disclos':47B,123C,232C,429C,492C,653C 'disclosur':28B 'dom':183C,188C,194C 'dos':276C,286C 'effect':340C 'enabl':241C,466C 'endpoint':527C 'ensur':461C 'enterpris':458C 'exampl':510C,641C 'exist':293C 'expos':521C 'extra':543C 'fixtur':639C 'forgeri':149C 'framework':3A,90C,111C 'free':257C,262C 'generic':300C 'ghsa':13A,18A,326C,354C,359C,365C,664C 'ghsa-267c-6grr-h53f':358C 'ghsa-8h8q':325C,353C,663C 'ghsa-h64f-5h5j-jqjh':12A,17A 'ghsa-mg66-mrh9-m8jx':364C 'h53f':362C 'h64f':14A,19A 'harden':625C 'header':531C 'high':347C,668C 'high-sever':346C 'host':37B 'id':269C 'immedi':173C 'implement':514C 'improv':103C 'includ':54B,137C,256C 'init':558C 'intern':530C 'investig':332C,420C 'issu':157C,657C 'jqjh':16A,21A 'lab':27B 'lab-disclosur':26B 'later':553C 'latest':483C 'layer':544C 'let':582C 'level':163C 'list':42B 'm8jx':368C 'manag':254C,263C,273C,283C,376C,394C,463C 'may':106C 'mg66':366C 'middlewar':58B,141C 'minim':414C 'mitig':5A,92C,113C,380C,423C,452C 'mrh9':367C 'multipl':119C 'must':608C 'new':100C,308C,632C 'newli':46B,231C 'next.js':9A,29B,52B,81B,96C,117C,135C,201C,323C,467C,478C,500C,585C,611C 'nextj':536C 'notic':416C 'opennext':574C,577C,592C,617C 'page':522C 'parcel':189C 'patch':174C,647C 'path':508C 'pattern':299C 'plan':258C,459C 'platform':591C 'plugin':474C 'poison':64B,156C 'possibl':372C,425C,433C 'potenti':386C 'ppr':516C 'pr':559C,561C,649C 'prevent':564C 'prior':214C 'pro':455C 'protect':206C 'protocol':518C 'provid':227C 'proxi':143C 'pure':448C 'q5fj':329C,357C,667C 'rang':160C 'rather':82B 'react':7A,30B,32B,48B,79B,94C,115C,126C,131C,179C,181C,186C,192C,215C,275C,285C,550C,571C,600C 'react-server-compon':31B 'react-server-dom-parcel':185C 'react-server-dom-turbopack':191C 'react-server-dom-webpack':180C 'recommend':166C,440C 'reimplement':476C 'releas':484C,630C 'reli':84B 'reliant':449C 'request':148C,539C 'requir':554C 'respons':212C 'result':303C 'resum':517C 'rout':526C 'router':523C 'rule':68B,209C,239C,266C,268C,294C,335C,378C,396C,398C,464C 'ruleset':255C,264C,265C,274C,284C 'run':556C,566C 'safe':338C 'say':66B 'script':153C 'se':671C 'secur':120C 'self':36B 'self-host':35B 'server':33B,49B,132C,146C,182C,187C,193C,216C,318C 'server-sid':145C 'servic':57B,140C,236C,315C,604C 'sever':162C,348C,426C,656C 'share':410C 'side':147C 'sidestep':504C 'site':152C 'ssrf':60B 'status':659C 'still':419C 'stock':499C 'strip':529C 'strong':165C,439C 'summari':651C 'surfac':480C 'team':76B,127C,618C 'test':638C 'three':343C 'turbopack':195C 'under':297C 'updat':78B,101C,167C,441C,609C,620C,644C 'use':251C,260C,646C 'user':607C 'vector':628C 'vendor':38B 'vercel':129C 'version':175C,569C,612C,633C,648C 'vinext':469C,470C,481C,494C,557C,573C 'vite':473C 'vulner':10A,53B,97C,118C,121C,237C,316C,408C,430C,487C,568C,597C,654C 'waf':1A,67B,87B,88C,109C,205C,208C,334C,377C,395C,404C,422C,437C,451C,658C 'way':502C 'webpack':184C 'whether':333C 'worker':25B,590C 'x':535C 'x-nextjs-data':534C 'xss':61B","nicknames":[],"mitigations":[],"who_affected":"Teams running React Server Components or Next.js applications are affected, and Cloudflare says the disclosed issues span a range of severities. Cloudflare's WAF rules are not a complete fix, so applications that depend only on WAF protection stay exposed. Vinext users are reported as not vulnerable on the latest release, and teams not using these frameworks can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-05-07T00:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"lab","external_id":"https://developers.cloudflare.com/changelog/post/2026-05-06-react-nextjs-vulnerabilities/#GHSA-h64f-5h5j-jqjh","url":"https://developers.cloudflare.com/changelog/post/2026-05-06-react-nextjs-vulnerabilities/","severity":null,"published_at":"2026-05-07T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-24T18:56:54+00:00","fetched_at":"2026-10-24T18:56:54+00:00","note":"Cloudflare: WAF and framework adapter mitigations for React and Next.js vulnerabilities · Changelog"}],"documents":[{"id":2906,"url":"https://developers.cloudflare.com/changelog/post/2026-05-06-react-nextjs-vulnerabilities/","title":"Cloudflare: WAF and framework adapter mitigations for React and Next.js vulnerabilities · Changelog","kind":"advisory","source":"lab","text":"WAF and framework adapter mitigations for React and Next.js vulnerabilities · Changelog\n\n# Changelog\n\nNew updates and improvements at Cloudflare.\n\nMay 7, 2026\n\n## WAF and framework adapter mitigations for React and Next.js vulnerabilities\n\nMultiple security vulnerabilities were disclosed by the React team and Vercel affecting React Server Components and Next.js. These include denial of service, middleware and proxy bypass, server-side request forgery, cross-site scripting, and cache poisoning issues across a range of severity levels.\n\nWe strongly recommend updating your application and its dependencies immediately. Patched versions are available for React (`react-server-dom-webpack`, `react-server-dom-parcel`, and `react-server-dom-turbopack` `19.0.6`, `19.1.7`, and `19.2.6`) and Next.js (`15.5.16` and `16.2.5`).\n\n#### WAF protections\n\nCloudflare WAF rules deployed in response to prior React Server Component CVEs (`CVE-2025-55184` ↗︎ and `CVE-2026-23864` ↗︎) already provide coverage for the newly disclosed denial-of-service vulnerabilities. These rules are enabled by default with a Block action for all customers using the Cloudflare Managed Ruleset, including Free plan customers using the Free Managed Ruleset.\n\n| Ruleset | Rule description | Rule ID | Default action |\n| --- | --- | --- | --- |\n| Cloudflare Managed Ruleset | React - DoS - `CVE-2025-55184` ↗︎ | `2694f1610c0b471393b21aef102ec699` | Disabled |\n| Cloudflare Managed Ruleset | React - DoS - `CVE-2026-23864` ↗︎ | `aaede80b4d414dc89c443cea61680354` | Block |\n\nThe existing rules detect the underlying attack patterns generically. As a result, they apply to the new `CVE-2026-23870` ↗︎ denial-of-service vulnerability in Server Components and the corresponding Next.js advisory `GHSA-8h8q-6873-q5fj` ↗︎.\n\nCloudflare is investigating whether WAF rules can be safely and effectively deployed for three of the high-severity advisories: `CVE-2026-23870` ↗︎ / `GHSA-8h8q-6873-q5fj` ↗︎, `GHSA-267c-6grr-h53f` ↗︎, and `GHSA-mg66-mrh9-m8jx` ↗︎. If it is possible to create a managed WAF rule that mitigates these CVEs and does not potentially break application behavior, Cloudflare will add additional managed WAF rules. These rules will be announced through the WAF changelog. Because these vulnerabilities were shared with Cloudflare with minimal advance notice, we are still investigating what WAF mitigations are possible.\n\nSeveral of the disclosed vulnerabilities are not possible to block in WAF. We strongly recommend updating your applications so they are not purely reliant on WAF mitigations.\n\nCustomers on Pro, Business, or Enterprise plans should ensure that Managed Rules are enabled.\n\n#### Next.js adapters\n\nVinext: Vinext ↗︎ is a Vite plugin that reimplements the Next.js API surface. Vinext's latest release is not vulnerable to any of the disclosed CVEs. Vinext's architecture differs from stock Next.js in ways that sidestep the affected code paths. For example, it does not implement the PPR resume protocol, does not expose Pages Router data-route endpoints, and strips internal headers such as `x-nextjs-data` at request boundaries. As an extra layer of defense, we added a React `19.2.6` or later requirement when running `vinext init` (PR #1118 ↗︎, PR #1112 ↗︎) to prevent accidentally running a vulnerable version of React with Vinext.\n\nOpenNext on Cloudflare: OpenNext is an adapter that lets you deploy Next.js apps to the Cloudflare Workers platform. OpenNext itself is not directly vulnerable to the React denial-of-service CVE, but users must update the Next.js version in their application. The OpenNext team has updated the adapter to further harden against these vectors and released a new version of the Cloudflare adapter. Test fixtures and examples have been updated to use patched versions (PR #1255 ↗︎).\n\n#### Summary of disclosed vulnerabilities\n\n| Advisory | Severity | Issue | WAF status |\n| --- | --- | --- | --- |\n| `CVE-2026-23870` ↗︎ / `GHSA-8h8q-6873-q5fj` ↗︎ | High | Denial of service in Server Components | WAF rules in place: `2694f1610c0b471393b21aef102ec699`, `aaede80b4d414dc89c443cea61680354` Cloudflare is investigating additional managed WAF coverage |\n| `GHSA-267c-6grr-h53f` ↗︎ | High | Middleware bypass via segment-prefetch routes | Cloudflare is investigating if this can be safely and effectively mitigated by a managed WAF rule |\n| `GHSA-mg66-mrh9-m8jx` ↗︎ | High | Denial of service via connection exhaustion in Cache Components | Cloudflare is investigating if this can be safely and effectively mitigated by a managed WAF rule |\n| `GHSA-492v-c6pp-mqqv` ↗︎ | High | Middleware bypass via dynamic route parameter injection | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-c4j6-fc7j-m34r` ↗︎ | High | SSRF via WebSocket upgrades | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-36qx-fr4f-26g5` ↗︎ | High | Middleware bypass in Pages Router i18n | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-ffhc-5mcf-pf4q` ↗︎ | Moderate | XSS via CSP nonces | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-gx5p-jg67-6x7h` ↗︎ | Moderate | XSS in `beforeInteractive` scripts | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-h64f-5h5j-jqjh` ↗︎ | Moderate | Denial of service in Image Optimization API | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-wfc6-r584-vfw7` ↗︎ | Moderate | Cache poisoning in RSC responses | Custom WAF rule possible; global managed rule could potentially break application behavior |\n| `GHSA-vfv6-92ff-j949` ↗︎ | Low | Cache poisoning via RSC cache-busting collisions | Not possible to safely enable a managed WAF rule without potentially breaking application behavior |\n| `GHSA-3g8h-86w9-wvmq` ↗︎ | Low | Middleware redirect cache poisoning | Custom WAF rule possible; global managed rule could potentially break application behavior |","published_at":"2026-05-07T00:00:00+00:00","relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}