fix: prevent SSRF attack via custom base URL (GHSA-9qf7-mprq-9qgm)

Require API key when custom base URL is provided to prevent attackers
from redirecting server API keys to malicious endpoints.

CVSS: 9.3 (Critical)
This commit is contained in:
Dayuan Jiang
2025-12-15 15:02:18 +09:00
parent f175276872
commit 44840d27b3
2 changed files with 11 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "next-ai-draw-io",
"version": "0.4.1",
"version": "0.4.2",
"license": "Apache-2.0",
"private": true,
"scripts": {