Skip to content
Cvefeed High Severity Advisories Jun 22, 2026 CVE-2026-50178 - Angular: Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension cvefeed.io Open source

Cvefeed High Severity Advisories Jun 22, 2026 CVE-2026-50178 - Angular: Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension cvefeed.io Open source

cvefeed.io June 23, 2026

The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. the client-side Angular Language Service VS Code extension configures the tooltip Markdown renderer with the isTrusted: true option (located in client/src/client.ts). This setting instructs VS Code to trust all rendered content it receives, which enables active elements such as command: URIs. However, the background Angular Language Server process fails to escape or sanitize brackets, raw links, and control characters from JSDoc strings before forwarding the hover Markdown content (located in server/src/handlers/hover.ts and server/src/text_render.ts). An attacker can leverage this behavior by crafting a project TypeScript or JavaScript file (or a third-party npm package dependency) containing a malicious JSDoc tooltip with an embedded active command link. When a developer hovers over the target symbol to render the tooltip and clicks the malicious link, the IDE executes the command sequence directly on the developer's host machine. Prior to 21.2.4, This vulnerability is fixed in 21.2.4.

The following products are affected by CVE-2026-50178 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-50178 vulnerability anywhere in the article.

Results are limited to the first 20 news articles due to potential performance issues.

Extracted Entities

Attack Types (1)

Domains (1)