---
id: CVE-2026-22551
title: '[Eclipse Theia] Data Exfiltration via Markdown Image Rendering in AI Chat'
summary: '[Eclipse Theia] Data Exfiltration via Markdown Image Rendering in AI Chat'
severity: medium
cwe:
  - CWE-201
vendor: theia
product: '@theia/ai-chat-ui'
ecosystem: npm
affected:
  - '@theia/ai-chat-ui < 1.71.0'
  - '@theia/ai-chat < 1.71.0'
  - '@theia/ai-claude-code < 1.71.0'
  - '@theia/ai-code-completion < 1.71.0'
  - '@theia/ai-core < 1.71.0'
  - '@theia/ai-editor < 1.71.0'
  - '@theia/ai-ide < 1.71.0'
patched:
  - '@theia/ai-chat-ui 1.71.0'
  - '@theia/ai-chat 1.71.0'
  - '@theia/ai-claude-code 1.71.0'
  - '@theia/ai-code-completion 1.71.0'
  - '@theia/ai-core 1.71.0'
  - '@theia/ai-editor 1.71.0'
  - '@theia/ai-ide 1.71.0'
published: '2026-06-18'
updated: '2026-06-19'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-qwjm-9c66-w4q4'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-22551'
  - url: 'https://gitlab.eclipse.org/security/cve-assignment/-/work_items/115'
  - url: 'https://github.com/eclipse-theia/theia/issues/16892'
  - url: 'https://github.com/eclipse-theia/theia/pull/17364'
  - url: >-
      https://github.com/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed
  - url: 'https://github.com/advisories/GHSA-qwjm-9c66-w4q4'
tags:
  - ghsa
  - npm
epss: 0.00312
epssPercentile: 0.21506
ingestedAt: '2026-06-29T14:31:46.952Z'
---

## Overview

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.

## Affected packages

- `@theia/ai-chat-ui < 1.71.0`
- `@theia/ai-chat < 1.71.0`
- `@theia/ai-claude-code < 1.71.0`
- `@theia/ai-code-completion < 1.71.0`
- `@theia/ai-core < 1.71.0`
- `@theia/ai-editor < 1.71.0`
- `@theia/ai-ide < 1.71.0`

## Remediation

Upgrade to a patched release:

- `@theia/ai-chat-ui 1.71.0`
- `@theia/ai-chat 1.71.0`
- `@theia/ai-claude-code 1.71.0`
- `@theia/ai-code-completion 1.71.0`
- `@theia/ai-core 1.71.0`
- `@theia/ai-editor 1.71.0`
- `@theia/ai-ide 1.71.0`
