Quick answers
- Is CVE-2026-50178 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50178 being exploited in the wild.
- How severe is CVE-2026-50178?
- Informational severity, with a CVSS score of 8.7, published 22 June 2026.
- Which products and versions are affected?
- Angular Language Service VS Code Extension < 21.2.4.
- Is there a fix for CVE-2026-50178?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-50178 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-50178?
- Check whether you run Angular Language Service VS Code Extension at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists because the client-side Angular Language Service VS Code extension (Angular.ng-template) incorrectly configures its tooltip Markdown renderer with the 'isTrusted: true' option. Simultaneously, the background Angular Language Server fails to sanitize or escape brackets and control characters in JSDoc strings. An attacker can exploit this by placing a malicious JSDoc payload containing a 'command:' URI in a TypeScript/JavaScript file or npm dependency. When a user hovers over the affected symbol and clicks the resulting link in the tooltip, the IDE executes the embedded command. This bypasses VS Code's Workspace Trust model and Restricted Mode, allowing for arbitrary code execution on the developer's machine. The issue is fixed in version 21.2.4.
Affected products
- Angular Angular Language Service VS Code Extension (Angular.ng-template) < 21.2.4
Timeline
- 2026-05-28: advisory: GitHub advisory published
- 2026-06-22: disclosed: NVD publication date