VDB
Sign up
MEDIUM

GHSA-qwjm-9c66-w4q4

[Eclipse Theia] Data Exfiltration via Markdown Image Rendering in AI Chat

Quick fix

GHSA-qwjm-9c66-w4q4 — @theia/ai-chat-ui: upgrade to the fixed version with the command below.

npm install @theia/ai-chat-ui@1.71.0

Details

In Eclipse Theia versions prior to 1.71.0, the AI chat rendered Markdown image tags from AI responses, triggering HTTP requests to arbitrary external URLs without restriction. Combined with prompt injection in a malicious workspace, an attacker could induce the AI agent to construct image URLs encoding sensitive information from the workspace or conversation context, exfiltrating it to attacker-controlled servers. The workspace trust enforcement introduced in v1.71.0 mitigates the documented attack chain by disabling AI features in untrusted workspaces.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@theia/ai-chat-ui
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-chat-ui@1.71.0
npm/@theia/ai-chat
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-chat@1.71.0
npm/@theia/ai-claude-code
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-claude-code@1.71.0
npm/@theia/ai-code-completion
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-code-completion@1.71.0
npm/@theia/ai-core
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-core@1.71.0
npm/@theia/ai-editor
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-editor@1.71.0
npm/@theia/ai-ide
Introduced in: 0Fixed in: 1.71.0
Fixnpm install @theia/ai-ide@1.71.0

References