PT-2026-51338 · Unknown · Angular Language Service Vs Code Extension

·

CVE-2026-50178

·

Published

2026-06-22

·

Updated

2026-06-26

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Angular Language Service VS Code Extension versions prior to 21.2.4
Description The client-side extension configures the tooltip Markdown renderer with the isTrusted: true option, causing VS Code to trust all rendered content and enable active elements like command URIs. The background Angular Language Server process fails to escape or sanitize brackets, raw links, and control characters from JSDoc strings before forwarding hover Markdown content. An attacker can exploit this by creating a TypeScript or JavaScript file, or a third-party npm package, containing a malicious JSDoc tooltip with an embedded active command link. If a developer hovers over the symbol and clicks the link, the IDE executes the command sequence on the host machine.
Recommendations Update to version 21.2.4.

Exploit

Fix

Code Injection

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-50178
GHSA-Q94J-3WJ3-4XCM

Affected Products

Angular Language Service Vs Code Extension