Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
endpoint-software-vulnerabilitywidely-deployed-product-advisoryextension-plugin-hijackopen-source-dependency-vulnerability

Angular VS Code Language Service Flaw Enables RCE via Malicious JSDoc Hover Links

Updated 14h agoFirst seen Jun 22, 20262 sources

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.

Share:
Angular VS Code Language Service Flaw Enables RCE via Malicious JSDoc Hover Links
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

3 events from the most recent confirmed update back to the earliest known activity.

3 EVENTS
Jun 22, 20262d ago

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.

CVE-2026-50178 - Angular: Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension
May 28, 202627d ago

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.

Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension · Advisory · angular/angular · GitHub

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.

Remote Code Execution via JSDoc Hover Command Injection in VS Code Angular Language Service Extension · Advisory · angular/angular · GitHub
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

5 LINKEDOpen in app
Vulnerabilities
1 linked
Affected products
1 linked
Visual Studio Code
Organizations
3 linked
AngularGitHubGoogle
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.