{"id":"CVE-2026-44580","revision":"852ee2fd70bf4e558b754c99d021810d","records":[{"revision":"852ee2fd70bf4e558b754c99d021810d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44580","aliases":[],"title":"Next.js: Cross-site scripting in beforeInteractive scripts with untrusted input","description":"Next.js is a React framework for building full-stack web applications. From 13.0.0 to before 15.5.16 and 16.2.5, applications that use beforeInteractive scripts together with untrusted content can be vulnerable to cross-site scripting. In affected versions, serialized script content was not escaped safely before being embedded into the document, which could allow attacker-controlled input to break out of the intended script context and execute arbitrary JavaScript in a visitor's browser. This vulnerability is fixed in 15.5.16 and 16.2.5.","state":0,"publishedAt":"2026-05-13T17:06:05.772+00:00","modifiedAt":"2026-05-13T18:28:15.512+00:00","affected":[{"ecosystem":"Vendor product","name":"next.js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vercel\",\n                    \"product\": \"next.js\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 13.0.0, < 15.5.16\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 16.0.0, < 16.2.5\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/vercel/next.js/security/advisories/GHSA-gx5p-jg67-6x7h"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44580","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44580","identifiers":["CVE-2026-44580"]},"retained":false,"historicalAffected":[]}],"coverage":[]}