PoC Monitor
← All CVEs
CVE-2026-50178published 22 Jun 2026 15:20 UTCData: JSON · API

Angular

Angular: Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

angular angular
  • < 21.2.4

Fixed in 21.2.4

angular Angular.ng-template
  • < 21.2.4

Fixed in 21.2.4

Mitigation

Upgrade angular to 21.2.4 or later.

Upgrade Angular.ng-template to 21.2.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.