{"answers":{"affected":"20 open source packages ship an affected version, including next.","exploited":"There is no known exploitation of GHSA-5j59-xgg2-r9c4 in the wild and no public exploit code.","fix":"Upgrade next to a fixed version for your release line: 14.2.35, 15.0.7, 15.1.11 or 15.2.8.","what":"GHSA-5j59-xgg2-r9c4 is a denial of service vulnerability in next, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-5j59-xgg2-r9c4 and fix it if it is affected.\n\nWhat it is: GHSA-5j59-xgg2-r9c4 is a denial of service vulnerability in next, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-5j59-xgg2-r9c4 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- next (npm): affected from 13.3.1-canary.0; fixed in 14.2.35\n- next (npm): affected from 13.3.1-canary.0; fixed in 14.2.35\n- next (npm): affected from 15.0.6; fixed in 15.0.7\n- next (npm): affected from 15.0.6; fixed in 15.0.7\n- next (npm): affected from 15.1.10; fixed in 15.1.11\n- next (npm): affected from 15.1.10; fixed in 15.1.11\n- next (npm): affected from 15.2.7; fixed in 15.2.8\n- next (npm): affected from 15.2.7; fixed in 15.2.8\n- next (npm): affected from 15.3.7; fixed in 15.3.8\n- next (npm): affected from 15.3.7; fixed in 15.3.8\n- next (npm): affected from 15.4.9; fixed in 15.4.10\n- next (npm): affected from 15.4.9; fixed in 15.4.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-5j59-xgg2-r9c4/ (Markdown: https://insights.sbomify.com/GHSA-5j59-xgg2-r9c4/index.md)","id":"GHSA-5j59-xgg2-r9c4","markdown":"https://insights.sbomify.com/GHSA-5j59-xgg2-r9c4/index.md","name":"GHSA-5j59-xgg2-r9c4","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Next.js framework","requires_auth":"none","summary":"Attackers can cause denial of service in Next.js apps by sending crafted requests to Server Function endpoints, triggering infinite loops in React Server Components.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"It was discovered that the fix for [CVE-2025-55184](https://github.com/advisories/GHSA-2m3v-v2m8-q956) in React Server Components was incomplete and did not fully mitigate denial-of-service conditions across all payload types.  As a result, certain crafted inputs could still trigger excessive resource consumption. \n\nThis vulnerability affects React versions 19.0.2, 19.1.3, and 19.2.2, as well as frameworks that bundle or depend on these versions, including Next.js 13.x, 14.x, 15.x, and 16.x when using the App Router. The issue is tracked upstream as [CVE-2025-67779](https://www.cve.org/CVERecord?id=CVE-2025-67779).\n\nA malicious actor can send a specially crafted HTTP request to a Server Function endpoint that, when deserialized, causes the React Server Components runtime to enter an infinite loop. This can lead to sustained CPU consumption and cause the affected server process to become unresponsive, resulting in a denial-of-service condition in unpatched environments.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up","id":"GHSA-5j59-xgg2-r9c4","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":20,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["14.2.35"],"introduced":["13.3.1-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["14.2.35"],"introduced":["13.3.1-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.0.7"],"introduced":["15.0.6"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.0.7"],"introduced":["15.0.6"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.1.11"],"introduced":["15.1.10"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.1.11"],"introduced":["15.1.10"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.2.8"],"introduced":["15.2.7"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.2.8"],"introduced":["15.2.7"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.3.8"],"introduced":["15.3.7"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.3.8"],"introduced":["15.3.7"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.4.10"],"introduced":["15.4.9"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.4.10"],"introduced":["15.4.9"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.5.9"],"introduced":["15.5.8"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.5.9"],"introduced":["15.5.8"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.6.0-canary.60"],"introduced":["15.6.0-canary.59"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["15.6.0-canary.60"],"introduced":["15.6.0-canary.59"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["16.0.10"],"introduced":["16.0.9"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["16.0.10"],"introduced":["16.0.9"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["16.1.0-canary.19"],"introduced":["16.1.0-canary.17"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-5j59-xgg2-r9c4"},{"ecosystem":"npm","fixed":["16.1.0-canary.19"],"introduced":["16.1.0-canary.17"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-5j59-xgg2-r9c4"}],"products":null,"published":"2025-12-12","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can cause denial of service in Next.js apps by sending crafted requests to Server Function endpoints, triggering infinite loops in React Server Components.","url":"https://insights.sbomify.com/GHSA-5j59-xgg2-r9c4/"}