| 제목 | Anil-matcha Open-Generative-AI main Cross Site Scripting |
|---|
| 설명 | In Open-Generative-AI, the studio components (ImageStudio, VideoStudio, CinemaStudio, LipSyncStudio) render generation history loaded from localStorage into innerHTML templates without HTML escaping (ImageStudio.js renderHistory at lines 1016-1048, sink at 1022-1029; equivalent sinks in VideoStudio.js:929-936, CinemaStudio.js:423-428, LipSyncStudio.js:544-551). History is rendered automatically on page load (ImageStudio.js:1069-1078). A history entry whose url or prompt value contains a double quote or angle brackets breaks out of the src/alt attribute and injects an event handler, resulting in DOM-based XSS that executes on page load. In the Electron desktop build, the injected script can steal the muapi_key from localStorage/cookies, invoke the localAI IPC surface exposed by preload (model deletion/download, wan2gp probing of arbitrary URLs), and trigger shell.openExternal through window.open.
|
|---|
| 원천 | ⚠️ https://github.com/Anil-matcha/Open-Generative-AI/issues/309 |
|---|
| 사용자 | Default01 (UID 100307) |
|---|
| 제출 | 2026. 08. 03. PM 01:15 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 12. PM 09:22 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 403184 [Anil-matcha Open-Generative-AI 까지 1.0.11/2.0.0 Studio Components ImageStudio.js renderHistory 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|