1. Accueil
  2. Vulnérabilités
  3. CVE-2026-50178

CVE-2026-50178

The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. the…

Publiée le 22 juin 2026 · modifiée le 26 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 43/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Angular (1 ligne(s))
Angular
ProduitVersionsCorrigé dansSource
Angular language service avant 21.2.4 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-79 · Script intersite (XSS)

Comment sont obtenues et calculées ces données