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.
References
| Link | Resource |
|---|---|
| https://github.com/angular/angular/security/advisories/GHSA-q94j-3wj3-4xcm | Vendor Advisory |
Configurations
History
26 Jun 2026, 02:57
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/angular/angular/security/advisories/GHSA-q94j-3wj3-4xcm - Vendor Advisory | |
| CPE | cpe:2.3:a:angular:angular_language_service:*:*:*:*:*:visual_studio_code:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| First Time |
Angular angular Language Service
Angular |
22 Jun 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-22 16:16
Updated : 2026-06-26 02:57
NVD link : CVE-2026-50178
Mitre link : CVE-2026-50178
CVE.ORG link : CVE-2026-50178
JSON object : View
Products Affected
angular
- angular_language_service
