{"id":"GHSA-ffhc-5mcf-pf4q","kind":"vulnerability","aliases":["GHSA-ffhc-5mcf-pf4q"],"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 reports a batch of React Server Components and Next.js vulnerabilities covering denial of service, middleware bypass, SSRF, XSS and cache poisoning. The WAF blocks only some of them, so applications need the patched versions rather than relying on WAF rules.","severity":"unknown","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["cloudflare","lab-disclosure","next.js","react","self-hosted","vendor","vercel"],"not_affected_if":["vinext"],"how_to_check":"- Check the installed React server packages (`react-server-dom-webpack`, `react-server-dom-parcel`, `react-server-dom-turbopack`) against the patched versions `19.0.6`, `19.1.7` and `19.2.6`.\n- Check the Next.js version in your application against `15.5.16` and `16.2.5`.\n- Confirm whether Cloudflare Managed Ruleset rules `2694f1610c0b471393b21aef102ec699` and `aaede80b4d414dc89c443cea61680354` are enabled.","fix":"- Update React server packages to `19.0.6`, `19.1.7` or `19.2.6` for your release line.\n- Update Next.js to `15.5.16` or `16.2.5`.\n- Do not rely on WAF rules alone; the source says several of these flaws cannot be blocked in WAF.\n- Keep Cloudflare Managed Rules enabled on Pro, Business or Enterprise plans.","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:32+00:00","updated_at":"2026-10-25T05:35:32+00:00","category":"vendor","confidence":0.6,"triage":{"at":"2026-10-25T05:35:32Z","model":"claude-haiku-5-5","output":{"fix":"- Update React server packages to `19.0.6`, `19.1.7` or `19.2.6` for your release line.\n- Update Next.js to `15.5.16` or `16.2.5`.\n- Do not rely on WAF rules alone; the source says several of these flaws cannot be blocked in WAF.\n- Keep Cloudflare Managed Rules enabled on Pro, Business or Enterprise plans.","reach":"internet","title":"Cloudflare: React and Next.js flaws; WAF covers some, patches needed","impact":"medium","summary":"Cloudflare's changelog reports a batch of React Server Components and Next.js vulnerabilities covering denial of service, middleware bypass, SSRF, XSS and cache poisoning. The WAF blocks only some of them, so applications need the patched versions rather than relying on WAF rules.","category":"vendor","nicknames":[],"who_cares":["next.js","react","cloudflare","self-hosted","vercel"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attackers can cause denial of service, bypass middleware, forge requests or poison caches.","analyst_note":"Check the linked GHSA advisories for per-issue exploit conditions and affected version ranges, and the Cloudflare WAF changelog for new managed rules.","how_to_check":"- Check the installed React server packages (`react-server-dom-webpack`, `react-server-dom-parcel`, `react-server-dom-turbopack`) against the patched versions `19.0.6`, `19.1.7` and `19.2.6`.\n- Check the Next.js version in your application against `15.5.16` and `16.2.5`.\n- Confirm whether Cloudflare Managed Ruleset rules `2694f1610c0b471393b21aef102ec699` and `aaede80b4d414dc89c443cea61680354` are enabled.","needs_analyst":true,"not_affected_if":["vinext"],"who_is_affected":"Applications that use React Server Components or Next.js and deploy them behind or on Cloudflare. The source lists Vinext as not vulnerable to the disclosed CVEs and says OpenNext on Cloudflare is not directly vulnerable but its users must update Next.js. The source does not say which specific Next.js configurations are exposed.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000993,"input_tokens":5805,"output_tokens":825,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2025':208C,266C '-2026':212C,276C,298C,339C,649C '-23864':213C,277C '-23870':299C,340C,650C '-55184':209C,267C '1112':550C '1118':548C '1255':638C '15.5.16':190C '16.2.5':192C '19.0.6':184C '19.1.7':185C '19.2.6':187C,539C '2026':96C '267c':348C '2694f1610c0b471393b21aef102ec699':268C '5mcf':15A,20A '6873':316C,344C,654C '6grr':349C '7':95C '8h8q':315C,343C,653C 'aaede80b4d414dc89c443cea61680354':278C 'accident':553C 'across':146C 'action':235C,259C 'adapt':4A,79C,100C,456C,568C,610C,625C 'add':380C,536C 'addit':381C 'advanc':403C 'advisori':312C,337C,643C 'affect':118C,494C 'alreadi':214C 'announc':389C 'api':467C 'app':574C 'appli':293C 'applic':65B,157C,376C,431C,603C 'architectur':484C 'attack':286C 'avail':165C 'batch':38B 'behavior':377C 'block':59B,234C,279C,423C 'boundari':528C 'break':375C 'busi':444C 'bypass':51B,132C 'cach':55B,143C 'changelog':11A,35B,86C,87C,393C 'cloudflar':22B,33B,93C,195C,241C,260C,270C,318C,378C,400C,564C,577C,624C 'code':495C 'compon':42B,121C,205C,307C 'correspond':310C 'cover':46B 'coverag':216C 'creat':362C 'cross':139C 'cross-sit':138C 'custom':238C,247C,441C 'cve':207C,211C,265C,275C,297C,338C,593C,648C 'cves':206C,370C,481C 'data':513C,525C 'data-rout':512C 'default':231C,258C 'defens':534C 'denial':47B,126C,222C,301C,590C,657C 'denial-of-servic':221C,300C,589C 'depend':160C 'deploy':198C,329C,572C 'descript':255C 'detect':283C 'differ':485C 'direct':584C 'disabl':269C 'disclos':111C,220C,417C,480C,641C 'disclosur':25B 'dom':171C,176C,182C 'dos':264C,274C 'effect':328C 'enabl':229C,454C 'endpoint':515C 'ensur':449C 'enterpris':446C 'exampl':498C,629C 'exist':281C 'expos':509C 'extra':531C 'ffhc':14A,19A 'fixtur':627C 'forgeri':137C 'framework':3A,78C,99C 'free':245C,250C 'generic':288C 'ghsa':13A,18A,314C,342C,347C,353C,652C 'ghsa-267c-6grr-h53f':346C 'ghsa-8h8q':313C,341C,651C 'ghsa-ffhc-5mcf-pf4q':12A,17A 'ghsa-mg66-mrh9-m8jx':352C 'h53f':350C 'harden':613C 'header':519C 'high':335C,656C 'high-sever':334C 'host':30B 'id':257C 'immedi':161C 'implement':502C 'improv':91C 'includ':125C,244C 'init':546C 'intern':518C 'investig':320C,408C 'issu':145C,645C 'lab':24B 'lab-disclosur':23B 'later':541C 'latest':471C 'layer':532C 'let':570C 'level':151C 'm8jx':356C 'manag':242C,251C,261C,271C,364C,382C,451C 'may':94C 'mg66':354C 'middlewar':50B,129C 'minim':402C 'mitig':5A,80C,101C,368C,411C,440C 'mrh9':355C 'multipl':107C 'must':596C 'need':66B 'new':88C,296C,620C 'newli':219C 'next.js':9A,26B,44B,84C,105C,123C,189C,311C,455C,466C,488C,573C,599C 'nextj':524C 'notic':404C 'opennext':562C,565C,580C,605C 'page':510C 'parcel':177C 'patch':68B,162C,635C 'path':496C 'pattern':287C 'pf4q':16A,21A 'plan':246C,447C 'platform':579C 'plugin':462C 'poison':56B,144C 'possibl':360C,413C,421C 'potenti':374C 'ppr':504C 'pr':547C,549C,637C 'prevent':552C 'prior':202C 'pro':443C 'protect':194C 'protocol':506C 'provid':215C 'proxi':131C 'pure':436C 'q5fj':317C,345C,655C 'rang':148C 'rather':70B 'react':7A,27B,40B,82C,103C,114C,119C,167C,169C,174C,180C,203C,263C,273C,538C,559C,588C 'react-server-dom-parcel':173C 'react-server-dom-turbopack':179C 'react-server-dom-webpack':168C 'recommend':154C,428C 'reimplement':464C 'releas':472C,618C 'reli':72B 'reliant':437C 'report':36B 'request':136C,527C 'requir':542C 'respons':200C 'result':291C 'resum':505C 'rout':514C 'router':511C 'rule':75B,197C,227C,254C,256C,282C,323C,366C,384C,386C,452C 'ruleset':243C,252C,253C,262C,272C 'run':544C,554C 'safe':326C 'script':141C 'se':659C 'secur':108C 'self':29B 'self-host':28B 'server':41B,120C,134C,170C,175C,181C,204C,306C 'server-sid':133C 'servic':49B,128C,224C,303C,592C 'sever':150C,336C,414C,644C 'share':398C 'side':135C 'sidestep':492C 'site':140C 'ssrf':52B 'status':647C 'still':407C 'stock':487C 'strip':517C 'strong':153C,427C 'summari':639C 'surfac':468C 'team':115C,606C 'test':626C 'three':331C 'turbopack':183C 'under':285C 'updat':89C,155C,429C,597C,608C,632C 'use':239C,248C,634C 'user':595C 'vector':616C 'vendor':31B 'vercel':32B,117C 'version':69B,163C,557C,600C,621C,636C 'vinext':457C,458C,469C,482C,545C,561C 'vite':461C 'vulner':10A,45B,85C,106C,109C,225C,304C,396C,418C,475C,556C,585C,642C 'waf':1A,58B,74B,76C,97C,193C,196C,322C,365C,383C,392C,410C,425C,439C,646C 'way':490C 'webpack':172C 'whether':321C 'worker':578C 'x':523C 'x-nextjs-data':522C 'xss':53B","nicknames":[],"mitigations":[],"who_affected":"Applications that use React Server Components or Next.js and deploy them behind or on Cloudflare. The source lists Vinext as not vulnerable to the disclosed CVEs and says OpenNext on Cloudflare is not directly vulnerable but its users must update Next.js. The source does not say which specific Next.js configurations are exposed.","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-ffhc-5mcf-pf4q","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"}