Angular VS Code Language Service Flaw Enables RCE via Malicious JSDoc Hover Links
A high-severity vulnerability in the Angular Language Service extension for Visual Studio Code, tracked as CVE-2026-50178, allows remote code execution when malicious JSDoc content is rendered inside hover tooltips. The flaw stems from the extension treating tooltip Markdown as trusted while the Angular Language Server forwards insufficiently sanitized JSDoc-derived content, including brackets, raw links, and control characters. An attacker can embed a crafted command: URI in a project file or a third-party npm dependency so that, when a developer hovers over the affected symbol and clicks the link, VS Code executes commands on the developer’s host machine.
The issue affects Angular.ng-template versions prior to 21.2.4 and can bypass normal Restricted Mode and Workspace Trust protections in VS Code. GitHub’s advisory says the bug was discovered and reported by CodeMender from Google DeepMind, and the published CVSS 4.0 base score is 8.7. Users are advised to upgrade the extension to version 21.2.4 or later to remediate the vulnerability.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
3 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-50178 entry published with high severity rating
A CVE entry for the Angular Language Service extension flaw was published as CVE-2026-50178 with a CVSS 4.0 base score of 8.7, rated High. The entry describes the same command-injection path via trusted Markdown hover rendering and notes the issue is fixed in version 21.2.4.
Angular fixes flaw in Angular.ng-template version 21.2.4
The advisory states the issue affects Angular.ng-template versions before 21.2.4 and advises users to upgrade to version 21.2.4 or later. This identifies version 21.2.4 as the fix for the vulnerability.
Angular discloses VS Code extension RCE vulnerability
Angular published a security advisory for a remote code execution flaw in the VS Code Angular Language Service extension caused by unsanitized JSDoc hover content being rendered as trusted Markdown. The advisory states that a crafted command URI in project files or third-party npm dependencies could execute code if a developer clicked the link in a hover tooltip.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
CVE-2026-50178 - Angular: Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension
cvefeed.io
Open sourceRemote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension · Advisory · angular/angular · GitHub
github.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


