제출 #806833: ChatGPTNextWeb NextChat 2.16.1 Permissive CORS Wildcard Policy정보

제목ChatGPTNextWeb NextChat 2.16.1 Permissive CORS Wildcard Policy
설명NextChat configures its Next.js application to attach maximally permissive CORS response headers to every API endpoint under the /api/* path prefix. The configuration in next.config.mjs (lines 38-63) sets.This configuration allows any website on the internet to make cross-origin requests to all NextChat API endpoints. Because Access-Control-Allow-Headers: * permits custom headers, attacker-controlled JavaScript can set the x-base-url header, which the proxy endpoint (/api/[provider]/[...path]/route.ts) uses to determine the server-side fetch destination. This directly enables cross-origin SSRF attacks.
원천⚠️ https://github.com/ChatGPTNextWeb/NextChat/issues/6756
사용자
 Yu_Bao (UID 89348)
제출2026. 04. 17. AM 07:19 (2 개월 ago)
모더레이션2026. 05. 01. PM 06:34 (14 days later)
상태수락
VulDB 항목360755 [ChatGPTNextWeb NextChat 까지 2.16.1 API Endpoint Next.js 권한 상승]
포인트들20

Do you want to use VulDB in your project?

Use the official API to access entries easily!