Skip to main content

Angular.js: The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. (CVE-2026-50178)

0
Medium
Published: 06/22/2026 (06/22/2026, 16:16:00 UTC)
Source: GCVE Database
Product: angular.js

Description

The Angular Language Service VS Code Extension had a vulnerability where it trusted rendered Markdown content in tooltips without properly sanitizing JSDoc strings. This allowed attackers to embed malicious command links in JSDoc comments that, when hovered over and clicked by a developer, could execute commands on the developer's machine. This issue was fixed in version 21.2.4.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/xenial
Affected versions
=1.2.28-1ubuntu2=1.2.28-1ubuntu2+esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/bionic
Affected versions
=1.5.10-1=1.5.10-1ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-apps/focal
Affected versions
=1.5.10-1=1.7.9-1=1.7.9-1ubuntu0.1~esm1
Ubuntu:22.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=jammy
Affected versions
=1.8.2-2=1.8.2-2ubuntu0.1
Ubuntu:24.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=noble
Affected versions
=1.8.3-1=1.8.3-1ubuntu0.24.04.1
Ubuntu:25.10more threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=questing
Affected versions
=1.8.3-1=1.8.3-3
Ubuntu:26.10more threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=stonking
Affected versions
=1.8.3-3
Ubuntu:26.04:LTSmore threats →ghsa
angular.js
pkg:deb/ubuntu/angular.js?arch=source&distro=resolute
Affected versions
=1.8.3-3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 01:01:18 UTC

Technical Analysis

The Angular Language Service VS Code Extension configured the tooltip Markdown renderer with isTrusted: true, enabling active elements like command: URIs. However, the Angular Language Server did not escape or sanitize brackets, raw links, and control characters from JSDoc strings before forwarding hover Markdown content. An attacker could craft malicious JSDoc tooltips containing active command links in project files or dependencies. When a developer hovered over the affected symbol and clicked the link, the IDE executed the command on the host machine. This vulnerability affects versions prior to 21.2.4 and has been fixed in 21.2.4.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary commands on the developer's host machine via the VS Code IDE by tricking the developer into clicking a malicious tooltip link. This can lead to full compromise of the developer environment, including confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Upgrade the Angular Language Service VS Code Extension to version 21.2.4 or later, where this vulnerability is fixed. Until then, avoid opening untrusted projects or dependencies that may contain malicious JSDoc comments. No other vendor advisory mitigation is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-50178
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f6122cdf04f65666414a

Added to database: 10/17/2026, 22:26:26 UTC

Last enriched: 10/18/2026, 01:01:18 UTC

Last updated: 10/18/2026, 01:01:18 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses